summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-03 18:06:29 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-03 18:06:29 +0100
commit21e151caddaf34df38086b5c1aea4f9654884526 (patch)
tree272c9902b83a8833c4677f24825df3716f0e3709
parentobsolete comment (diff)
downloadre3-21e151caddaf34df38086b5c1aea4f9654884526.tar
re3-21e151caddaf34df38086b5c1aea4f9654884526.tar.gz
re3-21e151caddaf34df38086b5c1aea4f9654884526.tar.bz2
re3-21e151caddaf34df38086b5c1aea4f9654884526.tar.lz
re3-21e151caddaf34df38086b5c1aea4f9654884526.tar.xz
re3-21e151caddaf34df38086b5c1aea4f9654884526.tar.zst
re3-21e151caddaf34df38086b5c1aea4f9654884526.zip
Diffstat (limited to '')
-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 ab6e694c..3432f32c 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -1120,7 +1120,7 @@ void CHud::Draw()
CFont::SetPropOff();
CFont::SetFontStyle(FONT_LOCALE(CTheScripts::IntroTextLines[i].m_nFont));
- CFont::PrintString(SCALE_AND_CENTER_X(DEFAULT_SCREEN_WIDTH - CTheScripts::IntroTextLines[i].m_fAtX), SCREEN_SCALE_Y(DEFAULT_SCREEN_HEIGHT - CTheScripts::IntroTextLines[i].m_fAtY), CTheScripts::IntroTextLines[i].m_Text);
+ CFont::PrintString(SCREEN_WIDTH - SCALE_AND_CENTER_X(DEFAULT_SCREEN_WIDTH - CTheScripts::IntroTextLines[i].m_fAtX), SCREEN_HEIGHT - SCREEN_SCALE_Y(DEFAULT_SCREEN_HEIGHT - CTheScripts::IntroTextLines[i].m_fAtY), CTheScripts::IntroTextLines[i].m_Text);
}
}
for (int i = 0; i < ARRAY_SIZE(CTheScripts::IntroRectangles); i++) {
@@ -1462,7 +1462,7 @@ void CHud::DrawAfterFade()
CFont::SetPropOff();
CFont::SetFontStyle(line.m_nFont);
- CFont::PrintString(SCALE_AND_CENTER_X(DEFAULT_SCREEN_WIDTH - line.m_fAtX), SCREEN_SCALE_Y(DEFAULT_SCREEN_HEIGHT - line.m_fAtY), line.m_Text);
+ CFont::PrintString(SCREEN_WIDTH - SCALE_AND_CENTER_X(DEFAULT_SCREEN_WIDTH - line.m_fAtX), SCREEN_HEIGHT - SCREEN_SCALE_Y(DEFAULT_SCREEN_HEIGHT - line.m_fAtY), line.m_Text);
}
}
for (int i = 0; i < ARRAY_SIZE(CTheScripts::IntroRectangles); i++) {