diff options
-rw-r--r-- | engines/mads/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index 61db1a6a32..a72648f0c9 100644 --- a/engines/mads/scene.cpp +++ b/engines/mads/scene.cpp @@ -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); } |