diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/interface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp index 201f98c029..9d195f7881 100644 --- a/engines/xeen/interface.cpp +++ b/engines/xeen/interface.cpp @@ -974,11 +974,8 @@ bool Interface::checkMoveDirection(int key) { } else { party._mazeDirection = dir; - if (startSurfaceId == SURFTYPE_SWAMP || party.checkSkill(SWIMMING) || + if (startSurfaceId != SURFTYPE_SWAMP || party.checkSkill(SWIMMING) || party._walkOnWaterActive) { - sound.playFX(46); - return false; - } else { if (_buttonValue == Common::KEYCODE_UP && _wo[107]) { _openDoor = true; sound.playFX(47); @@ -986,6 +983,9 @@ bool Interface::checkMoveDirection(int key) { _openDoor = false; } return true; + } else { + sound.playFX(46); + return false; } } } |