MORTEVIELLE: Added missing variable to savegame synchronization

This commit is contained in:
Paul Gilbert 2012-01-21 09:24:24 +11:00 committed by Strangerke
parent 37386cdf7c
commit 35b502612b

View File

@ -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) {