summaryrefslogtreecommitdiff
path: root/src/render/Credits.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-01 14:53:20 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-01 14:53:20 +0300
commit9fd93e8e5792781b1bce0eb5d75aa6eff00d9f69 (patch)
tree49f4d64c4ee48b03e9ac032fca6b97259d181935 /src/render/Credits.cpp
parentc74c7ce1d4ad0c4ec72d5ea4cc22f265d89edce7 (diff)
parent2f05c64470a2b04439a07646662ac6afb57901f5 (diff)
merge master to miami
Diffstat (limited to 'src/render/Credits.cpp')
-rw-r--r--src/render/Credits.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/Credits.cpp b/src/render/Credits.cpp
index f45c0aee..6c811b7f 100644
--- a/src/render/Credits.cpp
+++ b/src/render/Credits.cpp
@@ -803,8 +803,14 @@ CCredits::Render(void)
if(TheCamera.m_WideScreenOn)
TheCamera.DrawBordersForWideScreen();
+#ifdef FIX_BUGS
if(lineoffset + DEFAULT_SCREEN_HEIGHT - scrolloffset < -10.0f)
+#else
+ if(lineoffset + SCREEN_HEIGHT - scrolloffset < -10.0f)
+#endif
+ {
bCreditsGoing = false;
+ }
}
bool CCredits::AreCreditsDone(void)