mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Fix changing map areas in swampy
svn-id: r24062
This commit is contained in:
parent
2cc1df6fdd
commit
97cf93d275
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user