Fixed credits not working
This commit is contained in:
parent
80b85a417c
commit
6d61f678e2
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user