MADS: Fix death animations for seaweed and underwater mine

This commit is contained in:
Paul Gilbert 2015-02-14 21:34:09 -05:00
parent a505ae941c
commit 2c9ad1ee9b

View File

@ -675,7 +675,7 @@ void Scene::freeCurrentScene() {
}
void Scene::removeSprites() {
for (int idx = _sprites.size() - 1; idx >= _spritesCount; --idx)
for (int idx = _sprites._assetCount - 1; idx >= _spritesCount; --idx)
_sprites.remove(idx);
}