aboutsummaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-12-19 21:25:45 +0300
committerFire-Head <Fire-Head@users.noreply.github.com>2020-12-19 21:25:45 +0300
commit140fa2a21c345123c83435558849feb29d3f2eba (patch)
tree4c6eb275b6952a30cbe288e3f3b999dab4224b5d /src/render/Hud.cpp
parent87bca997a45c3364b3994fddb40230ef20a56d90 (diff)
restore original code, fixes, ps2 font
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r--src/render/Hud.cpp4
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