diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-09 23:41:21 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-09 23:50:34 +0100 |
commit | 59f9c009efd3e149b83621c61716fa8da1ee1309 (patch) | |
tree | 46d3644183f9bd7b4297f9f3f675f0322665a703 /src/core/Game.cpp | |
parent | Revert "Font: Fix text dimensions" (diff) | |
download | re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.gz re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.bz2 re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.lz re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.xz re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.zst re3-59f9c009efd3e149b83621c61716fa8da1ee1309.zip |
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r-- | src/core/Game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 3507b3b3..f7589d2b 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -131,7 +131,7 @@ void MessageScreen(char *msg) CFont::SetWrapx(SCREEN_SCALE_FROM_RIGHT(190.0f)); // 450.0f CFont::SetScale(SCREEN_SCALE_X(1.0f), SCREEN_SCALE_Y(1.0f)); CFont::SetCentreOn(); - CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(190.0f)); // 450.0f + CFont::SetCentreSize(SCREEN_SCALE_X(450.0f)); // 450.0f CFont::SetJustifyOff(); CFont::SetColor(CRGBA(255, 255, 255, 255)); CFont::SetDropColor(CRGBA(32, 32, 32, 255)); @@ -737,7 +737,7 @@ void CGame::InitialiseWhenRestarting(void) CFont::SetWrapx(SCREEN_SCALE_FROM_RIGHT(160.0f)); // 480.0f CFont::SetScale(SCREEN_SCALE_X(1.0f), SCREEN_SCALE_Y(1.0f)); CFont::SetCentreOn(); - CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(160.0f)); // 480.0f + CFont::SetCentreSize(SCREEN_SCALE_X(480.0f)); CFont::SetJustifyOff(); CFont::SetColor(CRGBA(255, 255, 255, 255)); CFont::SetBackGroundOnlyTextOff(); |