diff options
author | Willem Jan Palenstijn | 2010-06-09 08:49:37 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-06-09 08:49:37 +0000 |
commit | 95b080f60b74fe9b83d71abc9a80038f025845c6 (patch) | |
tree | d05537e067bb6f22a3ea8aac17bf2c2e2b014400 /engines/sci/engine/kmisc.cpp | |
parent | 5cb311ee2c352372e8eb494933e2bc36ffd5c4f5 (diff) | |
download | scummvm-rg350-95b080f60b74fe9b83d71abc9a80038f025845c6.tar.gz scummvm-rg350-95b080f60b74fe9b83d71abc9a80038f025845c6.tar.bz2 scummvm-rg350-95b080f60b74fe9b83d71abc9a80038f025845c6.zip |
Fix compile errors
svn-id: r49535
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index d90255ab41..25fb11d62f 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -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; |