summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-27 15:05:47 +0100
committerSergeanur <s.anureev@yandex.ua>2019-10-27 15:05:47 +0100
commit6d61f678e22d46af166a0b81eb4a405ff8e076df (patch)
treead96ab4b7de39372bbfe8206edbf5b3ea7712ff8 /src/render
parentFix cAudioManager::AddReleasingSounds (diff)
downloadre3-6d61f678e22d46af166a0b81eb4a405ff8e076df.tar
re3-6d61f678e22d46af166a0b81eb4a405ff8e076df.tar.gz
re3-6d61f678e22d46af166a0b81eb4a405ff8e076df.tar.bz2
re3-6d61f678e22d46af166a0b81eb4a405ff8e076df.tar.lz
re3-6d61f678e22d46af166a0b81eb4a405ff8e076df.tar.xz
re3-6d61f678e22d46af166a0b81eb4a405ff8e076df.tar.zst
re3-6d61f678e22d46af166a0b81eb4a405ff8e076df.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Credits.cpp5
-rw-r--r--src/render/Credits.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/render/Credits.cpp b/src/render/Credits.cpp
index 6d20c1ff..8f4e2270 100644
--- a/src/render/Credits.cpp
+++ b/src/render/Credits.cpp
@@ -493,6 +493,11 @@ CCredits::Render(void)
bCreditsGoing = false;
}
+bool CCredits::AreCreditsDone(void)
+{
+ return !bCreditsGoing;
+}
+
STARTPATCHES
InjectHook(0x4FE7A0, CCredits::Init, PATCH_JUMP);
InjectHook(0x4FE760, CCredits::Start, PATCH_JUMP);
diff --git a/src/render/Credits.h b/src/render/Credits.h
index cbe63172..c39fb035 100644
--- a/src/render/Credits.h
+++ b/src/render/Credits.h
@@ -8,7 +8,7 @@ public:
static void Init(void);
static void Start(void);
static void Stop(void);
- static bool AreCreditsDone(void) { return bCreditsGoing; }
+ static bool AreCreditsDone(void);
static void Render(void);
static void PrintCreditSpace(float space, uint32 &line);
static void PrintCreditText(float scaleX, float scaleY, wchar *text, uint32 &lineoffset, float scrolloffset);