diff options
Diffstat (limited to 'engines/mads/player.cpp')
-rw-r--r-- | engines/mads/player.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp index 20d54902dd..aea73bbbec 100644 --- a/engines/mads/player.cpp +++ b/engines/mads/player.cpp @@ -693,6 +693,12 @@ void Player::releasePlayerSprites() { _numSprites = 0; _spritesLoaded = false; _spritesChanged = true; + + // FIXME: Find out why this occurs + if (scene._sprites.size() > 0) { + warning("Player::releasePlayerSprites(): leftover sprites remain, clearing list"); + scene._sprites.clear(); + } } void Player::synchronize(Common::Serializer &s) { |