diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-12-19 19:25:45 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-12-19 19:25:45 +0100 |
commit | 140fa2a21c345123c83435558849feb29d3f2eba (patch) | |
tree | 4c6eb275b6952a30cbe288e3f3b999dab4224b5d /src/render/Hud.cpp | |
parent | Merge branch 'master' of https://github.com/GTAmodding/re3 (diff) | |
download | re3-140fa2a21c345123c83435558849feb29d3f2eba.tar re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.gz re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.bz2 re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.lz re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.xz re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.zst re3-140fa2a21c345123c83435558849feb29d3f2eba.zip |
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r-- | src/render/Hud.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index d54f1c05..eb152ca4 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -1029,7 +1029,7 @@ void CHud::Draw() CFont::SetRightJustifyWrap(0.0f); CFont::SetFontStyle(FONT_LOCALE(FONT_HEADING)); CFont::SetColor(CRGBA(244, 20, 20, 255)); - CFont::SetWrapx(SCREEN_STRETCH_X(DEFAULT_SCREEN_WIDTH)); + CFont::SetWrapx(SCREEN_SCALE_X(DEFAULT_SCREEN_WIDTH)); CFont::SetPropOff(); CFont::SetBackGroundOnlyTextOn(); @@ -1396,7 +1396,7 @@ void CHud::Draw() // Appearently sliding text in here was abandoned very early, since this text is centered now. #ifdef FIX_BUGS - if (BigMessageX[0] >= SCALE_AND_CENTER_X(DEFAULT_SCREEN_HEIGHT-20)) + if (BigMessageX[0] >= SCALE_AND_CENTER_X(DEFAULT_SCREEN_WIDTH-20)) #else if (BigMessageX[0] >= SCREEN_WIDTH-20) #endif |