summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-15 23:44:25 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-15 23:46:09 +0200
commitd455cd8a62639145d7b5c03ada6fc84d2ad8ac36 (patch)
treee690f03a618e5c0e9b3cc51dc85083937fdab66f /src/core/Camera.cpp
parentUpdate README.md (diff)
downloadre3-d455cd8a62639145d7b5c03ada6fc84d2ad8ac36.tar
re3-d455cd8a62639145d7b5c03ada6fc84d2ad8ac36.tar.gz
re3-d455cd8a62639145d7b5c03ada6fc84d2ad8ac36.tar.bz2
re3-d455cd8a62639145d7b5c03ada6fc84d2ad8ac36.tar.lz
re3-d455cd8a62639145d7b5c03ada6fc84d2ad8ac36.tar.xz
re3-d455cd8a62639145d7b5c03ada6fc84d2ad8ac36.tar.zst
re3-d455cd8a62639145d7b5c03ada6fc84d2ad8ac36.zip
Diffstat (limited to '')
-rw-r--r--src/core/Camera.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index 91dd6573..c7fa41e4 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -2183,13 +2183,21 @@ CCamera::DrawBordersForWideScreen(void)
SetMotionBlurAlpha(80);
CSprite2d::DrawRect(
+#ifdef FIX_BUGS
+ CRect(0.0f, (SCREEN_HEIGHT/2) * m_ScreenReductionPercentage/100.0f - SCREEN_SCALE_Y(8.0f),
+#else
CRect(0.0f, (SCREEN_HEIGHT/2) * m_ScreenReductionPercentage/100.0f - 8.0f,
+#endif
SCREEN_WIDTH, 0.0f),
CRGBA(0, 0, 0, 255));
CSprite2d::DrawRect(
CRect(0.0f, SCREEN_HEIGHT,
+#ifdef FIX_BUGS
+ SCREEN_WIDTH, SCREEN_HEIGHT - (SCREEN_HEIGHT/2) * m_ScreenReductionPercentage/100.0f - SCREEN_SCALE_Y(8.0f)),
+#else
SCREEN_WIDTH, SCREEN_HEIGHT - (SCREEN_HEIGHT/2) * m_ScreenReductionPercentage/100.0f - 8.0f),
+#endif
CRGBA(0, 0, 0, 255));
}