summaryrefslogtreecommitdiff
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-16 00:44:25 +0300
committerSergeanur <s.anureev@yandex.ua>2020-04-16 00:46:09 +0300
commitd455cd8a62639145d7b5c03ada6fc84d2ad8ac36 (patch)
treee690f03a618e5c0e9b3cc51dc85083937fdab66f /src/core/main.cpp
parent378f1d180d8736cdc55eedcb36b9a2d59796f1e0 (diff)
Default native resolution mode and small camera fixes
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index b028b5fb..08463df9 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -240,8 +240,13 @@ DoFade(void)
float y = SCREEN_HEIGHT/2 * TheCamera.m_ScreenReductionPercentage/100.0f;
rect.left = 0.0f;
rect.right = SCREEN_WIDTH;
+#ifdef FIX_BUGS
+ rect.top = y - SCREEN_SCALE_Y(8.0f);
+ rect.bottom = SCREEN_HEIGHT - y - SCREEN_SCALE_Y(8.0f);
+#else
rect.top = y - 8.0f;
rect.bottom = SCREEN_HEIGHT - y - 8.0f;
+#endif // FIX_BUGS
}else{
rect.left = 0.0f;
rect.right = SCREEN_WIDTH;