[Scummvm-cvs-logs] CVS: scummvm/sword2 router.cpp,1.33,1.34
Pawel Kolodziejski
aquadran at users.sourceforge.net
Wed Dec 17 00:37:01 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2 interpreter.cpp,1.32,1.33 resman.cpp,1.77,1.78 router.cpp,1.32,1.33 router.h,1.13,1.14 walker.cpp,1.29,1.30
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword1 music.cpp,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv26227
Modified Files:
router.cpp
Log Message:
fixed warning
Index: router.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/router.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- router.cpp 17 Dec 2003 08:01:59 -0000 1.33
+++ router.cpp 17 Dec 2003 08:36:09 -0000 1.34
@@ -355,6 +355,7 @@
// This is because I was unable to derive a function to relate number
// of steps taken between two points to the shrunken step size
+ int i;
int32 steps = 0;
int32 lastDir;
int32 tempturns[4];
@@ -442,7 +443,7 @@
tempturns[3] = DD;
turns[3] = 3;
- for (int i = 0; i < 3; i++) {
+ for (i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
if (tempturns[j] > tempturns[j + 1]) {
SWAP(turns[j], turns[j + 1]);
@@ -459,7 +460,7 @@
assert(options);
- int i = 0;
+ i = 0;
steps = 0;
do {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2 interpreter.cpp,1.32,1.33 resman.cpp,1.77,1.78 router.cpp,1.32,1.33 router.h,1.13,1.14 walker.cpp,1.29,1.30
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword1 music.cpp,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list