Fix compile errors

svn-id: r49535
This commit is contained in:
Willem Jan Palenstijn 2010-06-09 08:49:37 +00:00
parent 5cb311ee2c
commit 95b080f60b
2 changed files with 4 additions and 4 deletions

View file

@ -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;