diff options
author | Bastien Bouclet | 2011-01-21 21:40:06 +0000 |
---|---|---|
committer | Bastien Bouclet | 2011-01-21 21:40:06 +0000 |
commit | f7f453a92595b7e071480d107fe9cdd1ab964ccc (patch) | |
tree | e02ca658c1d14c9c1c6479ebf5a082733936d83f | |
parent | efec8d886423f4d04eb1706c084c49bffa427dd1 (diff) | |
download | scummvm-rg350-f7f453a92595b7e071480d107fe9cdd1ab964ccc.tar.gz scummvm-rg350-f7f453a92595b7e071480d107fe9cdd1ab964ccc.tar.bz2 scummvm-rg350-f7f453a92595b7e071480d107fe9cdd1ab964ccc.zip |
MOHAWK: Fix channelwood var getter 3, water flawing to temple elevator.
svn-id: r55395
-rw-r--r-- | engines/mohawk/myst_stacks/channelwood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/channelwood.cpp b/engines/mohawk/myst_stacks/channelwood.cpp index 96e5645316..77a12644f5 100644 --- a/engines/mohawk/myst_stacks/channelwood.cpp +++ b/engines/mohawk/myst_stacks/channelwood.cpp @@ -96,7 +96,7 @@ uint16 MystScriptParser_Channelwood::getVar(uint16 var) { case 2: // Lower Walkway to Upper Walkway Elevator Raised return _state.elevatorState; case 3: // Water Flowing To Lower Walkway To Upper Walkway Elevator - return (_state.waterValveStates & 0xc0) ? 1 : 0; + return (_state.waterValveStates & 0xc0) == 0xc0; case 4: // Water Flowing To Book Room Elevator return ((_state.waterValveStates & 0xf8) == 0xb0 && _state.pipeState) ? 1 : 0; case 5: // Lower Walkway to Upper Walkway Spiral Stair Lower Door State |