[Scummvm-cvs-logs] SF.net SVN: scummvm:[44454] scummvm/trunk/engines/draci/animation.cpp

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Tue Sep 29 01:32:22 CEST 2009


Revision: 44454
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44454&view=rev
Author:   dkasak13
Date:     2009-09-28 23:32:16 +0000 (Mon, 28 Sep 2009)

Log Message:
-----------
draci: Inverted a logical check to make it more obvious.

Modified Paths:
--------------
    scummvm/trunk/engines/draci/animation.cpp

Modified: scummvm/trunk/engines/draci/animation.cpp
===================================================================
--- scummvm/trunk/engines/draci/animation.cpp	2009-09-28 23:10:08 UTC (rev 44453)
+++ scummvm/trunk/engines/draci/animation.cpp	2009-09-28 23:32:16 UTC (rev 44454)
@@ -434,7 +434,7 @@
 	bool hasChanged;	
 	
 	do {
-		hasChanged = true;
+		hasChanged = false;
 		cur = _animations.begin();
 		next = cur;
 
@@ -452,13 +452,13 @@
 				_animations.erase(next);
 
 				insertAnimation(anim);
-				hasChanged = false;
+				hasChanged = true;
 			}
 
 			// Advance to next animation
 			cur = next;
 		}
-	} while (!hasChanged);
+	} while (hasChanged);
 }
 
 void AnimationManager::deleteAnimation(int id) {


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