aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/scripts.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-03 20:08:11 -0500
committerPaul Gilbert2017-12-03 20:08:11 -0500
commite8fb9920a9cf4ccb44620d992a093205ffd98c15 (patch)
tree486d5c02928bc4b2f4fad242a7d055592677df8e /engines/xeen/scripts.cpp
parent20fb25d58a732a7d6b750595cd7f4d310f5d0b2e (diff)
downloadscummvm-rg350-e8fb9920a9cf4ccb44620d992a093205ffd98c15.tar.gz
scummvm-rg350-e8fb9920a9cf4ccb44620d992a093205ffd98c15.tar.bz2
scummvm-rg350-e8fb9920a9cf4ccb44620d992a093205ffd98c15.zip
XEEN: Cleanup of window opening & closing
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r--engines/xeen/scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 5c09f9f5bd..37ddd1e7b7 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -188,7 +188,7 @@ int Scripts::checkEvents() {
if (event._position == _currentPos && party._mazeDirection !=
(_currentPos.x | _currentPos.y) && event._line == _lineNum) {
if (event._direction == party._mazeDirection || event._direction == DIR_ALL) {
- _vm->_mode = MODE_9;
+ _vm->_mode = MODE_RECORD_EVENTS;
_scriptExecuted = true;
doOpcode(event);
break;