Update isle.cpp

Renamed _DAT_004101bc to g_startDelayTimer.
This commit is contained in:
TheEmeraldFalcon 2023-06-10 22:53:36 -04:00 committed by GitHub
parent d336f65abe
commit 4777dbeea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -571,13 +571,14 @@ void Isle::tick(BOOL sleepIfNotNextFrame)
TickleManager()->Tickle();
}
g_lastFrameTime = currentTime;
if (_DAT_004101bc == 0) {
/* hacky start delay. */
if (g_startDelayTimer == 0) {
return;
}
_DAT_004101bc--;
if (_DAT_004101bc != 0) {
/* could change to --g_startDelayTimer, but will mess with assembly. */
g_startDelayTimer--;
if (g_startDelayTimer != 0) {
return;
}