diff options
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r-- | engines/xeen/scripts.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index c84ec91d11..11f88044f5 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -158,6 +158,7 @@ bool Scripts::checkEvents() { (_currentPos.x | _currentPos.y) && event._line == _lineNum) { if (event._direction == party._mazeDirection || event._direction == DIR_ALL) { _vm->_mode = MODE_9; + _scriptExecuted = true; doOpcode(event); break; } else { @@ -517,7 +518,8 @@ void Scripts::cmdSpawn(Common::Array<byte> ¶ms) { void Scripts::cmdDoTownEvent(Common::Array<byte> ¶ms) { _scriptResult = _vm->_town->townAction(params[0]); _vm->_party->_stepped = true; - + _refreshIcons = true; + cmdExit(params); } |