mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
MOHAWK: Add a stub for Myst var getter 308
svn-id: r55187
This commit is contained in:
parent
42713ef1fc
commit
81d29aa303
@ -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);
|
||||
}
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user