[Scummvm-cvs-logs] scummvm master -> 321d6cffa55926f53e0f61075d3efea3f264ff53

Strangerke Strangerke at scummvm.org
Tue Nov 24 17:12:32 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:
321d6cffa5 MADS: Phantom: Remove dead code in scene 310


Commit: 321d6cffa55926f53e0f61075d3efea3f264ff53
    https://github.com/scummvm/scummvm/commit/321d6cffa55926f53e0f61075d3efea3f264ff53
Author: Strangerke (strangerke at scummvm.org)
Date: 2015-11-24T17:06:45+01:00

Commit Message:
MADS: Phantom: Remove dead code in scene 310

Changed paths:
    engines/mads/phantom/phantom_scenes3.cpp



diff --git a/engines/mads/phantom/phantom_scenes3.cpp b/engines/mads/phantom/phantom_scenes3.cpp
index 33d569d..bb9bcee 100644
--- a/engines/mads/phantom/phantom_scenes3.cpp
+++ b/engines/mads/phantom/phantom_scenes3.cpp
@@ -2680,9 +2680,7 @@ void Scene310::handleLakeAnimation() {
 	if (_scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame() == _lakeFrame)
 		return;
 
-
 	_lakeFrame = _scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame();
-	int resetFrame = -1;
 	int id;
 
 	switch (_lakeFrame) {
@@ -2761,11 +2759,6 @@ void Scene310::handleLakeAnimation() {
 	default:
 		break;
 	}
-
-	if (resetFrame >= 0) {
-		_scene->setAnimFrame(_globals._animationIndexes[0], resetFrame);
-		_lakeFrame = resetFrame;
-	}
 }
 
 /*------------------------------------------------------------------------*/






More information about the Scummvm-git-logs mailing list