diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index 61db1a6a32b..a72648f0c91 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); }