[Scummvm-cvs-logs] CVS: scummvm/sky autoroute.cpp,1.18,1.19

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Wed Oct 1 00:30:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv8320

Modified Files:
	autoroute.cpp 
Log Message:
Whitespace changes


Index: autoroute.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/autoroute.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- autoroute.cpp	20 Aug 2003 12:12:11 -0000	1.18
+++ autoroute.cpp	1 Oct 2003 07:29:27 -0000	1.19
@@ -159,7 +159,7 @@
 						gridChanged = true;
 					}
 				}
-                xWalkCalc += directionX;
+				xWalkCalc += directionX;
 			}
 			yWalkCalc += directionY;
 		}
@@ -201,12 +201,12 @@
 		if (!walkDirection)
 			error("makeRouteData:: can't find way through walkGrid (pos %d)", lastVal);
 		while (lastVal && (lastVal == *(routePos + walkDirection))) {
-            *dataTrg += WALK_JUMP;
+			*dataTrg += WALK_JUMP;
 			lastVal--;
 			routePos += walkDirection;
 		}
 	}
-    return dataTrg;
+	return dataTrg;
 }
 
 uint16 *SkyAutoRoute::checkInitMove(uint16 *data, int16 initStaX) {
@@ -251,7 +251,7 @@
 	// if there was an initial x movement (due to clipping) tag it onto the start
 	routeData = checkInitMove(routeData, initStaX);
 
-    uint8 cnt = 0;
+	uint8 cnt = 0;
 	do {
 		((uint16*)cpt->extCompact->animScratch)[cnt]     = routeData[cnt];
 		((uint16*)cpt->extCompact->animScratch)[cnt + 1] = routeData[cnt + 1];





More information about the Scummvm-git-logs mailing list