diff options
author | Paul Gilbert | 2015-03-04 18:55:05 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-03-04 18:55:05 -0500 |
commit | cecb9a9ecc1ec1897fdd27e1bafc7f6d494cd6af (patch) | |
tree | 1219f2ba2eb839dde9f31b675e7f8c17a1777333 /engines/mads | |
parent | d9564d4cb2a0275698119b22e6ef3df32472d1da (diff) | |
download | scummvm-rg350-cecb9a9ecc1ec1897fdd27e1bafc7f6d494cd6af.tar.gz scummvm-rg350-cecb9a9ecc1ec1897fdd27e1bafc7f6d494cd6af.tar.bz2 scummvm-rg350-cecb9a9ecc1ec1897fdd27e1bafc7f6d494cd6af.zip |
MADS: Fix crash throwing bones to dog
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/player.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp index 8720aeead3..a257cea264 100644 --- a/engines/mads/player.cpp +++ b/engines/mads/player.cpp @@ -790,9 +790,7 @@ void Player::removePlayerSprites() { } } - if (scene._activeAnimation != nullptr) - scene._activeAnimation->resetSpriteSetsCount(); - + scene._spriteSlots.clear(); scene._spriteSlots.fullRefresh(); _visible = false; } |