MOHAWK: Add a stub for Myst var getter 308

svn-id: r55187
This commit is contained in:
Bastien Bouclet 2011-01-09 16:13:31 +00:00
parent 42713ef1fc
commit 81d29aa303
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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]);