mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
MOHAWK: Fix the getter for Channelwood's var 32
This commit is contained in:
parent
6224f97cf0
commit
e0e7790dfb
@ -170,7 +170,10 @@ uint16 Channelwood::getVar(uint16 var) {
|
||||
|
||||
return 0;
|
||||
case 32: // Sound - Water Flowing in Pipe to Book Room Elevator
|
||||
return ((_state.waterValveStates & 0xf8) == 0xb0 && _state.pipeState) ? 1 : 0;
|
||||
if ((_state.waterValveStates & 0xf8) == 0xb0)
|
||||
return _state.pipeState ? 2 : 1;
|
||||
|
||||
return 0;
|
||||
case 33: // Channelwood Lower Walkway to Upper Walkway Spiral Stair Upper Door State
|
||||
if (_state.stairsUpperDoorState) {
|
||||
if (_tempVar == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user