diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-16 00:19:45 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-16 00:19:45 +0200 |
commit | 75733f3c83926b3669b63a0b632789216870e229 (patch) | |
tree | 86784853dd870d2d7224b782177140fd4df4c1c9 /src/core/Camera.cpp | |
parent | merge readmes (diff) | |
parent | fix Bait crash (diff) | |
download | re3-75733f3c83926b3669b63a0b632789216870e229.tar re3-75733f3c83926b3669b63a0b632789216870e229.tar.gz re3-75733f3c83926b3669b63a0b632789216870e229.tar.bz2 re3-75733f3c83926b3669b63a0b632789216870e229.tar.lz re3-75733f3c83926b3669b63a0b632789216870e229.tar.xz re3-75733f3c83926b3669b63a0b632789216870e229.tar.zst re3-75733f3c83926b3669b63a0b632789216870e229.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Camera.cpp | 8 |
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)); } |