aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/player.cpp')
-rw-r--r--engines/mads/player.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp
index 0c9a496144..20d54902dd 100644
--- a/engines/mads/player.cpp
+++ b/engines/mads/player.cpp
@@ -690,6 +690,7 @@ void Player::releasePlayerSprites() {
} while (--spriteEnd >= _spritesStart);
}
+ _numSprites = 0;
_spritesLoaded = false;
_spritesChanged = true;
}
@@ -722,7 +723,6 @@ void Player::synchronize(Common::Serializer &s) {
s.syncAsByte(_visible);
s.syncAsByte(_priorVisible);
- s.syncAsSint16LE(_spritesStart);
for (int i = 0; i < 8; ++i)
s.syncAsByte(_spriteSetsPresent[i]);
@@ -751,7 +751,6 @@ void Player::synchronize(Common::Serializer &s) {
s.syncAsUint16LE(_frameCount);
synchronizeString(s, _spritesPrefix);
s.syncAsUint32LE(_priorTimer);
- s.syncAsSint16LE(_numSprites);
s.syncAsByte(_loadsFirst);
s.syncAsByte(_loadedFirst);
s.syncAsByte(_spritesLoaded);