diff options
author | Paul Gilbert | 2012-01-21 09:24:24 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:20:28 +0200 |
commit | 35b502612bebeec8007385f6eb1496b5755b4f31 (patch) | |
tree | 64c6435d1d7c0bacbaf18ca693a91bbb9cf4fca5 /engines/mortevielle | |
parent | 37386cdf7ce39f7241dc21fd3bf3db7d3c60e14d (diff) | |
download | scummvm-rg350-35b502612bebeec8007385f6eb1496b5755b4f31.tar.gz scummvm-rg350-35b502612bebeec8007385f6eb1496b5755b4f31.tar.bz2 scummvm-rg350-35b502612bebeec8007385f6eb1496b5755b4f31.zip |
MORTEVIELLE: Added missing variable to savegame synchronization
Diffstat (limited to 'engines/mortevielle')
-rw-r--r-- | engines/mortevielle/disk.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mortevielle/disk.cpp b/engines/mortevielle/disk.cpp index 41868d42fa..a22c8f4bb0 100644 --- a/engines/mortevielle/disk.cpp +++ b/engines/mortevielle/disk.cpp @@ -62,6 +62,9 @@ void dem1() { */ } +/** + * Handle saving or loading savegame data + */ static void sync_save(Common::Serializer &sz) { sz.syncAsSint16LE(s1.conf); sz.syncBytes((byte *)&s1.pourc[0], 11); @@ -78,6 +81,8 @@ static void sync_save(Common::Serializer &sz) { sz.syncAsSint16LE(s1.icryp); sz.syncAsSint16LE(s1.ipre); sz.syncAsSint16LE(s1.heure); + + sz.syncBytes(bufcha, 390); } void takesav(int n) { |