[Scummvm-cvs-logs] SF.net SVN: scummvm: [29325] scummvm/trunk/engines/igor/parts/part_21.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Oct 30 18:21:38 CET 2007


Revision: 29325
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29325&view=rev
Author:   thebluegr
Date:     2007-10-30 10:21:38 -0700 (Tue, 30 Oct 2007)

Log Message:
-----------
Renamed a variable which is declared twice

Modified Paths:
--------------
    scummvm/trunk/engines/igor/parts/part_21.cpp

Modified: scummvm/trunk/engines/igor/parts/part_21.cpp
===================================================================
--- scummvm/trunk/engines/igor/parts/part_21.cpp	2007-10-30 10:47:24 UTC (rev 29324)
+++ scummvm/trunk/engines/igor/parts/part_21.cpp	2007-10-30 17:21:38 UTC (rev 29325)
@@ -188,17 +188,17 @@
 		memcpy(_screenVGA + i * 320 + offset, _animFramesBuffer + 0xCBE1 + i * 26, 26);
 	}
 	waitForTimer(100);
-	int i = 1;
+	int k = 1;
 	do {
 		if (compareGameTick(3, 24)) {
 			for (int j = 0; j <= 49; ++j) {
-				memcpy(_screenVGA + j * 320 + offset, _animFramesBuffer + 0xBCA5 + PART_21_ANIM_DATA_2[i] * 1300 + j * 26, 26);
+				memcpy(_screenVGA + j * 320 + offset, _animFramesBuffer + 0xBCA5 + PART_21_ANIM_DATA_2[k] * 1300 + j * 26, 26);
 			}
-			++i;
+			++k;
 		}
 		PART_21_UPDATE_ROOM_BACKGROUND();
 		waitForTimer();
-	} while (i != 10);
+	} while (k != 10);
 	IN_ACTION_111 = false;
 	removeObjectFromInventory(56);
 	_objectsState[65] = 1;


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