Fix compile errors
svn-id: r49535
This commit is contained in:
parent
5cb311ee2c
commit
95b080f60b
2 changed files with 4 additions and 4 deletions
|
@ -80,7 +80,7 @@ reg_t kGameIsRestarting(EngineState *s, int argc, reg_t *argv) {
|
|||
uint32 duration = curTime - s->_throttleLastTime;
|
||||
|
||||
if (duration < neededSleep) {
|
||||
s->_event->sleep(neededSleep - duration);
|
||||
g_sci->getEventManager()->sleep(neededSleep - duration);
|
||||
s->_throttleLastTime = g_system->getMillis();
|
||||
} else {
|
||||
s->_throttleLastTime = curTime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue