[Scummvm-cvs-logs] SF.net SVN: scummvm: [30710] scummvm/trunk/engines/parallaction/exec_ns.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Jan 31 00:09:18 CET 2008


Revision: 30710
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30710&view=rev
Author:   thebluegr
Date:     2008-01-30 15:09:18 -0800 (Wed, 30 Jan 2008)

Log Message:
-----------
Fix shadowing warning

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/exec_ns.cpp

Modified: scummvm/trunk/engines/parallaction/exec_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/exec_ns.cpp	2008-01-30 22:51:21 UTC (rev 30709)
+++ scummvm/trunk/engines/parallaction/exec_ns.cpp	2008-01-30 23:09:18 UTC (rev 30710)
@@ -627,9 +627,9 @@
 
 
 	int16 _a, _b, _c, _d, _e, _f;
-	for (AnimationList::iterator it = _animations.begin(); it != _animations.end(); it++) {
+	for (AnimationList::iterator ait = _animations.begin(); ait != _animations.end(); ait++) {
 
-		Animation *a = *it;
+		Animation *a = *ait;
 
 		_a = (a->_flags & kFlagsActive) ? 1 : 0;															   // _a: active Animation
 		_e = ((_si >= a->_left + a->width()) || (_si <= a->_left)) ? 0 : 1;		// _e: horizontal range


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