aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/event.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-06-10 04:36:44 +0000
committerTravis Howell2007-06-10 04:36:44 +0000
commit60a8c969f7d7cc29f8bb54f703fbf015eb77d16e (patch)
treeeb1fdb2795a57768e9d6532de88f31c8245b277d /engines/agos/event.cpp
parent2d2bda501e549169f4b6726e60d21b10dcfdf982 (diff)
downloadscummvm-rg350-60a8c969f7d7cc29f8bb54f703fbf015eb77d16e.tar.gz
scummvm-rg350-60a8c969f7d7cc29f8bb54f703fbf015eb77d16e.tar.bz2
scummvm-rg350-60a8c969f7d7cc29f8bb54f703fbf015eb77d16e.zip
Restore DIMP specific timer code.
svn-id: r27277
Diffstat (limited to 'engines/agos/event.cpp')
-rw-r--r--engines/agos/event.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index c3831ec1db..13de82fcbd 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -548,7 +548,14 @@ void AGOSEngine::delay(uint amount) {
}
void AGOSEngine::timer_callback() {
- timer_proc1();
+ if (getGameId() == GID_DIMP) {
+ _lastTickCount = _system->getMillis();
+
+ timer_proc1();
+ dimp_idle();
+ } else {
+ timer_proc1();
+ }
}
void AGOSEngine_Feeble::timer_proc1() {