mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-17 05:21:15 +00:00
Update isle.cpp
Renamed _DAT_004101bc to g_startDelayTimer.
This commit is contained in:
parent
d336f65abe
commit
4777dbeea1
@ -571,13 +571,14 @@ void Isle::tick(BOOL sleepIfNotNextFrame)
|
|||||||
TickleManager()->Tickle();
|
TickleManager()->Tickle();
|
||||||
}
|
}
|
||||||
g_lastFrameTime = currentTime;
|
g_lastFrameTime = currentTime;
|
||||||
|
|
||||||
if (_DAT_004101bc == 0) {
|
/* hacky start delay. */
|
||||||
|
if (g_startDelayTimer == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
/* could change to --g_startDelayTimer, but will mess with assembly. */
|
||||||
_DAT_004101bc--;
|
g_startDelayTimer--;
|
||||||
if (_DAT_004101bc != 0) {
|
if (g_startDelayTimer != 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user