[Scummvm-cvs-logs] scummvm master -> bb175b39c1aa9f6b03431bc2e89817ec138f91c3
dreammaster
dreammaster at scummvm.org
Thu Mar 5 13:42:09 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:
bb175b39c1 MADS: Fix screwed up death animation when getting eaten in village stream
Commit: bb175b39c1aa9f6b03431bc2e89817ec138f91c3
https://github.com/scummvm/scummvm/commit/bb175b39c1aa9f6b03431bc2e89817ec138f91c3
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-05T07:40:47-05:00
Commit Message:
MADS: Fix screwed up death animation when getting eaten in village stream
Changed paths:
engines/mads/player.cpp
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp
index a257cea..68e0355 100644
--- a/engines/mads/player.cpp
+++ b/engines/mads/player.cpp
@@ -785,8 +785,10 @@ void Player::removePlayerSprites() {
int heroSpriteId = _spritesStart;
for (int i = 0; i < 8; i++) {
if (_spriteSetsPresent[i]) {
- scene._sprites.remove(heroSpriteId++);
+ delete scene._sprites[heroSpriteId];
+ scene._sprites[heroSpriteId] = nullptr;
_spriteSetsPresent[i] = false;
+ ++heroSpriteId;
}
}
More information about the Scummvm-git-logs
mailing list