mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 12:46:56 +00:00
MADS: Fix death animations for seaweed and underwater mine
This commit is contained in:
parent
a505ae941c
commit
2c9ad1ee9b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user