mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
MOHAWK: Add Achenar's crate state to Mechanical state
This commit is contained in:
parent
43d9fb6c5a
commit
30c33c6e6b
@ -227,13 +227,13 @@ void MystGameState::syncGameState(Common::Serializer &s, bool isME) {
|
||||
s.syncAsUint16LE(_channelwood.holoprojectorSelection);
|
||||
s.syncAsUint16LE(_channelwood.stairsUpperDoorState);
|
||||
|
||||
if (isME)
|
||||
s.skip(4);
|
||||
else
|
||||
s.skip(1);
|
||||
|
||||
// Mechanical
|
||||
|
||||
if (isME)
|
||||
s.syncAsUint32LE(_mechanical.achenarCrateOpened);
|
||||
else
|
||||
s.syncAsByte(_mechanical.achenarCrateOpened);
|
||||
|
||||
s.syncAsUint16LE(_mechanical.achenarPanelState);
|
||||
s.syncAsUint16LE(_mechanical.sirrusPanelState);
|
||||
s.syncAsUint16LE(_mechanical.staircaseState);
|
||||
|
@ -203,6 +203,7 @@ public:
|
||||
7 = Code Lock Shape #4 (Right)
|
||||
*/
|
||||
struct Mechanical {
|
||||
uint32 achenarCrateOpened;
|
||||
uint16 achenarPanelState;
|
||||
uint16 sirrusPanelState;
|
||||
uint16 staircaseState;
|
||||
|
Loading…
Reference in New Issue
Block a user