aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/interface.cpp')
-rw-r--r--engines/xeen/interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp
index 44e2326c1f..f85e19d99f 100644
--- a/engines/xeen/interface.cpp
+++ b/engines/xeen/interface.cpp
@@ -809,7 +809,7 @@ bool Interface::checkMoveDirection(int key) {
if (map._isOutdoors) {
party._mazeDirection = dir;
- switch ((int)map._currentWall._outdoors._surfaceId) {
+ switch (map._currentWall) {
case 5:
if (_vm->_files->_isDarkCc)
goto check;