diff options
-rw-r--r-- | engines/mohawk/myst_state.cpp | 8 | ||||
-rw-r--r-- | engines/mohawk/myst_state.h | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/mohawk/myst_state.cpp b/engines/mohawk/myst_state.cpp index 87e02f57e3..968bb422be 100644 --- a/engines/mohawk/myst_state.cpp +++ b/engines/mohawk/myst_state.cpp @@ -227,12 +227,12 @@ void MystGameState::syncGameState(Common::Serializer &s, bool isME) { s.syncAsUint16LE(_channelwood.holoprojectorSelection); s.syncAsUint16LE(_channelwood.stairsUpperDoorState); + // Mechanical + if (isME) - s.skip(4); + s.syncAsUint32LE(_mechanical.achenarCrateOpened); else - s.skip(1); - - // Mechanical + s.syncAsByte(_mechanical.achenarCrateOpened); s.syncAsUint16LE(_mechanical.achenarPanelState); s.syncAsUint16LE(_mechanical.sirrusPanelState); diff --git a/engines/mohawk/myst_state.h b/engines/mohawk/myst_state.h index 3f1e49e5c9..a543cb1c4f 100644 --- a/engines/mohawk/myst_state.h +++ b/engines/mohawk/myst_state.h @@ -203,6 +203,7 @@ public: 7 = Code Lock Shape #4 (Right) */ struct Mechanical { + uint32 achenarCrateOpened; uint16 achenarPanelState; uint16 sirrusPanelState; uint16 staircaseState; |