aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2006-10-02 06:11:05 +0000
committerTravis Howell2006-10-02 06:11:05 +0000
commit97cf93d2757073312e738bfac0b3381aad9add2d (patch)
tree104549f60edf4188d00deba45a00dae96482be1b /engines/agos
parent2cc1df6fddd01d5966d2bc5ce5cd89d85dd16524 (diff)
downloadscummvm-rg350-97cf93d2757073312e738bfac0b3381aad9add2d.tar.gz
scummvm-rg350-97cf93d2757073312e738bfac0b3381aad9add2d.tar.bz2
scummvm-rg350-97cf93d2757073312e738bfac0b3381aad9add2d.zip
Fix changing map areas in swampy
svn-id: r24062
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index fccecd7162..9145c18b28 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -35,7 +35,7 @@ void AGOSEngine::addTimeEvent(uint timeout, uint subroutine_id) {
time(&cur_time);
te->time = cur_time + timeout - _gameStoppedClock;
- if (_clockStopped)
+ if (getGameType() == GType_FF && _clockStopped)
te->time -= ((uint32)time(NULL) - _clockStopped);
te->subroutine_id = subroutine_id;
@@ -122,7 +122,7 @@ bool AGOSEngine::kickoffTimeEvents() {
TimeEvent *te;
bool result = false;
- if (_clockStopped)
+ if (getGameType() == GType_FF && _clockStopped)
return result;
time(&cur_time);