diff options
author | Bastien Bouclet | 2011-01-09 16:13:31 +0000 |
---|---|---|
committer | Bastien Bouclet | 2011-01-09 16:13:31 +0000 |
commit | 81d29aa303c0b5d0ccaa8eb01ebe6d827a7bb0a6 (patch) | |
tree | 286a9d7d2ddcb2ad2409dde768585a328930e3e3 | |
parent | 42713ef1fc71f9790b037afda8c7644d4ff7f0fe (diff) | |
download | scummvm-rg350-81d29aa303c0b5d0ccaa8eb01ebe6d827a7bb0a6.tar.gz scummvm-rg350-81d29aa303c0b5d0ccaa8eb01ebe6d827a7bb0a6.tar.bz2 scummvm-rg350-81d29aa303c0b5d0ccaa8eb01ebe6d827a7bb0a6.zip |
MOHAWK: Add a stub for Myst var getter 308
svn-id: r55187
-rw-r--r-- | engines/mohawk/myst_stacks/myst.cpp | 2 | ||||
-rw-r--r-- | engines/mohawk/myst_state.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp index d37965900c..c33c32604a 100644 --- a/engines/mohawk/myst_stacks/myst.cpp +++ b/engines/mohawk/myst_stacks/myst.cpp @@ -595,6 +595,8 @@ uint16 MystScriptParser_Myst::getVar(uint16 var) { return _state.cabinValvePosition; case 307: // Cabin Boiler Fully Pressurized return _state.cabinPilotLightLit == 1 && _state.cabinValvePosition > 12; + case 308: // Cabin handle position + return 0; // Not implemented in the original default: return MystScriptParser::getVar(var); } diff --git a/engines/mohawk/myst_state.cpp b/engines/mohawk/myst_state.cpp index d16fff63fe..be56f86ba8 100644 --- a/engines/mohawk/myst_state.cpp +++ b/engines/mohawk/myst_state.cpp @@ -295,9 +295,7 @@ void MystGameState::syncGameState(Common::Serializer &s, bool isME) { // D'ni s.syncAsUint16LE(_globals.ending); - // Reading unknown region... - // When Zero Value regions are included, these are 5 blocks of - // 41 uint16 values. + // Already visited zip destinations for (byte i = 0; i < 41; i++) s.syncAsUint16LE(_mystReachableZipDests[i]); |