[Scummvm-cvs-logs] SF.net SVN: scummvm:[53502] scummvm/trunk/engines/toon/toon.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Oct 15 17:17:49 CEST 2010


Revision: 53502
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53502&view=rev
Author:   thebluegr
Date:     2010-10-15 15:17:49 +0000 (Fri, 15 Oct 2010)

Log Message:
-----------
TOON: Fixed code analysis warning - bug #3087867

Modified Paths:
--------------
    scummvm/trunk/engines/toon/toon.cpp

Modified: scummvm/trunk/engines/toon/toon.cpp
===================================================================
--- scummvm/trunk/engines/toon/toon.cpp	2010-10-15 15:11:11 UTC (rev 53501)
+++ scummvm/trunk/engines/toon/toon.cpp	2010-10-15 15:17:49 UTC (rev 53502)
@@ -4391,10 +4391,11 @@
 		_animation = new Animation(vm);
 		_animation->loadAnimation(animationName);
 
-		if (_animInstance)
+		if (_animInstance) {
 			_animInstance->setAnimation(_animation, false);
 
-		printf("load animation instance %d / %s / visible %d \n", _id, _animation->_name, _animInstance->getVisible());
+			printf("load animation instance %d / %s / visible %d \n", _id, _animation->_name, _animInstance->getVisible());
+		}
 	}
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list