Fix changing map areas in swampy

svn-id: r24062
This commit is contained in:
Travis Howell 2006-10-02 06:11:05 +00:00
parent 2cc1df6fdd
commit 97cf93d275

View File

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