diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-27 19:19:22 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-27 19:19:22 +0100 |
commit | 97cf189d15b603055cd3371b5c726498892353ba (patch) | |
tree | 58bf78ee58b6a79018478f63a06907cc345b7121 | |
parent | Fix anim id in replay (diff) | |
download | re3-97cf189d15b603055cd3371b5c726498892353ba.tar re3-97cf189d15b603055cd3371b5c726498892353ba.tar.gz re3-97cf189d15b603055cd3371b5c726498892353ba.tar.bz2 re3-97cf189d15b603055cd3371b5c726498892353ba.tar.lz re3-97cf189d15b603055cd3371b5c726498892353ba.tar.xz re3-97cf189d15b603055cd3371b5c726498892353ba.tar.zst re3-97cf189d15b603055cd3371b5c726498892353ba.zip |
-rw-r--r-- | src/render/Hud.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index b7c78eb1..9c543043 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -1172,7 +1172,13 @@ void CHud::Draw() CFont::SetBackgroundColor(CRGBA(0, 0, 0, 128)); CFont::SetCentreOn(); CFont::SetPropOn(); - CFont::SetDropShadowPosition(0); +#ifdef CUTSCENE_BORDERS_SWITCH + if (!FrontEndMenuManager.m_PrefsCutsceneBorders) + CFont::SetDropShadowPosition(2); + else +#else + CFont::SetDropShadowPosition(0); +#endif CFont::SetFontStyle(FONT_LOCALE(FONT_STANDARD)); CFont::SetColor(CRGBA(225, 225, 225, 255)); @@ -1182,10 +1188,6 @@ void CHud::Draw() onceItWasWidescreen = true; if (FrontEndMenuManager.m_PrefsShowSubtitles || !CCutsceneMgr::IsRunning()) { -#ifdef CUTSCENE_BORDERS_SWITCH - if (!FrontEndMenuManager.m_PrefsCutsceneBorders) - CFont::SetDropShadowPosition(2); -#endif CFont::SetCentreSize(SCREEN_WIDTH - SCREEN_SCALE_X(60.0f)); CFont::SetScale(SCREEN_SCALE_X(0.58f), SCREEN_SCALE_Y(1.2f)); CFont::PrintString(SCREEN_WIDTH / 2.f, SCREEN_SCALE_FROM_BOTTOM(80.0f), m_Message); |