[Scummvm-cvs-logs] scummvm master -> 2c9ad1ee9b439998b2dac178d295ce3f328b41ae

dreammaster dreammaster at scummvm.org
Sun Feb 15 03:35:36 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:
2c9ad1ee9b MADS: Fix death animations for seaweed and underwater mine


Commit: 2c9ad1ee9b439998b2dac178d295ce3f328b41ae
    https://github.com/scummvm/scummvm/commit/2c9ad1ee9b439998b2dac178d295ce3f328b41ae
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-02-14T21:34:09-05:00

Commit Message:
MADS: Fix death animations for seaweed and underwater mine

Changed paths:
    engines/mads/scene.cpp



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






More information about the Scummvm-git-logs mailing list