Skip to content

Commit

Permalink
XEEN: Fix hang calling checkEvents when in combat mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Feb 26, 2015
1 parent 68e30b2 commit 19007ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/scripts.cpp
Expand Up @@ -167,7 +167,7 @@ int Scripts::checkEvents() {
if (eventIndex == map._events.size())
_lineNum = -1;
}
} while (!_vm->shouldQuit() && _lineNum != -1);
} while (!_vm->shouldQuit() && !_eventSkipped && _lineNum != -1);

intf._face1State = intf._face2State = 2;
if (_refreshIcons) {
Expand Down

0 comments on commit 19007ba

Please sign in to comment.