diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-08-29 18:22:25 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-08-30 11:40:30 +0200 |
commit | 3e549a7d4484340d8d71500a7e61f81f403f48cc (patch) | |
tree | 3506aaab712cf59e5a0e687090ac7ebedd866c6b /src/core/Camera.cpp | |
parent | update librw (diff) | |
download | re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.gz re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.bz2 re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.lz re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.xz re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.tar.zst re3-3e549a7d4484340d8d71500a7e61f81f403f48cc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Camera.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index df778815..704e77b8 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -2044,7 +2044,11 @@ CCamera::GetScreenRect(CRect &rect) { rect.left = 0.0f; rect.right = SCREEN_WIDTH; - if(m_WideScreenOn){ + if(m_WideScreenOn +#ifdef CUTSCENE_BORDERS_SWITCH + && CMenuManager::m_PrefsCutsceneBorders +#endif + ){ float borderSize = (SCREEN_HEIGHT / 2) * (m_ScreenReductionPercentage / 100.f); rect.top = borderSize - SCREEN_SCALE_Y(22.f); rect.bottom = SCREEN_HEIGHT - borderSize - SCREEN_SCALE_Y(14.f); |