diff options
author | Torbjörn Andersson | 2003-10-01 07:29:27 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-10-01 07:29:27 +0000 |
commit | 920c11972eb1e3a2fe49fa9acff9814e2fac0eb3 (patch) | |
tree | a5dd24efa3bde7204d16e40424972e9bbcad7c95 /sky | |
parent | 2a41216f086315009e07a7d379ebf72305e7dd1e (diff) | |
download | scummvm-rg350-920c11972eb1e3a2fe49fa9acff9814e2fac0eb3.tar.gz scummvm-rg350-920c11972eb1e3a2fe49fa9acff9814e2fac0eb3.tar.bz2 scummvm-rg350-920c11972eb1e3a2fe49fa9acff9814e2fac0eb3.zip |
Whitespace changes
svn-id: r10515
Diffstat (limited to 'sky')
-rw-r--r-- | sky/autoroute.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sky/autoroute.cpp b/sky/autoroute.cpp index 31d2aec140..7b33d932fe 100644 --- a/sky/autoroute.cpp +++ b/sky/autoroute.cpp @@ -159,7 +159,7 @@ bool SkyAutoRoute::calcWalkGrid(uint8 startX, uint8 startY, uint8 destX, uint8 d gridChanged = true; } } - xWalkCalc += directionX; + xWalkCalc += directionX; } yWalkCalc += directionY; } @@ -201,12 +201,12 @@ uint16 *SkyAutoRoute::makeRouteData(uint8 startX, uint8 startY, uint8 destX, uin 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 @@ uint16 SkyAutoRoute::autoRoute(Compact *cpt) { // 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]; |