[Scummvm-cvs-logs] scummvm master -> cecb9a9ecc1ec1897fdd27e1bafc7f6d494cd6af
dreammaster
dreammaster at scummvm.org
Thu Mar 5 00:56:57 CET 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cecb9a9ecc MADS: Fix crash throwing bones to dog
Commit: cecb9a9ecc1ec1897fdd27e1bafc7f6d494cd6af
https://github.com/scummvm/scummvm/commit/cecb9a9ecc1ec1897fdd27e1bafc7f6d494cd6af
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-04T18:55:05-05:00
Commit Message:
MADS: Fix crash throwing bones to dog
Changed paths:
engines/mads/player.cpp
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp
index 8720aee..a257cea 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;
}
More information about the Scummvm-git-logs
mailing list