[Scummvm-cvs-logs] SF.net SVN: scummvm:[34468] scummvm/trunk/engines/igor/parts/part_22.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Sep 10 08:57:33 CEST 2008
Revision: 34468
http://scummvm.svn.sourceforge.net/scummvm/?rev=34468&view=rev
Author: thebluegr
Date: 2008-09-10 06:57:32 +0000 (Wed, 10 Sep 2008)
Log Message:
-----------
Fix in the Igor engine for bug #2101083 - "ANY - MSVC71 compilation fails due to warnings-as-errors"
Modified Paths:
--------------
scummvm/trunk/engines/igor/parts/part_22.cpp
Modified: scummvm/trunk/engines/igor/parts/part_22.cpp
===================================================================
--- scummvm/trunk/engines/igor/parts/part_22.cpp 2008-09-09 18:09:46 UTC (rev 34467)
+++ scummvm/trunk/engines/igor/parts/part_22.cpp 2008-09-10 06:57:32 UTC (rev 34468)
@@ -74,7 +74,9 @@
void IgorEngine::PART_22_ACTION_102() {
_walkDataCurrentIndex = 0;
_walkCurrentFrame = 1;
- for (int i = 9; i >= 0; --i) {
+ int i = 0;
+
+ for (i = 9; i >= 0; --i) {
WalkData *wd = &_walkData[0];
wd->setPos(138, 123, 1, _walkCurrentFrame);
WalkData::setNextFrame(1, _walkCurrentFrame);
@@ -89,7 +91,7 @@
moveIgor(wd->posNum, wd->frameNum);
waitForTimer(15);
}
- int i = 16;
+ i = 16;
do {
if (compareGameTick(1, 16)) {
memcpy(_screenTextLayer + (i * 8 + 16) * 320, _screenLayer1 + (128 - i * 8) * 320, (i * 8 + 16) * 320);
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