aboutsummaryrefslogtreecommitdiff
path: root/sky/autoroute.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-07-31 08:06:40 +0000
committerJonathan Gray2003-07-31 08:06:40 +0000
commita8b5e40c2bd3ae582545415b8c1843eb4b1642ba (patch)
treef2f77b875d8cd850b98814190b0c7edd7d28873e /sky/autoroute.cpp
parent7c16006cc7f2aa7a9a464207db6b023db6966af4 (diff)
downloadscummvm-rg350-a8b5e40c2bd3ae582545415b8c1843eb4b1642ba.tar.gz
scummvm-rg350-a8b5e40c2bd3ae582545415b8c1843eb4b1642ba.tar.bz2
scummvm-rg350-a8b5e40c2bd3ae582545415b8c1843eb4b1642ba.zip
remove unused variable
svn-id: r9322
Diffstat (limited to 'sky/autoroute.cpp')
-rw-r--r--sky/autoroute.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sky/autoroute.cpp b/sky/autoroute.cpp
index 7367f0684d..f78bc0a449 100644
--- a/sky/autoroute.cpp
+++ b/sky/autoroute.cpp
@@ -135,7 +135,6 @@ bool SkyAutoRoute::calcWalkGrid(uint8 startX, uint8 startY, uint8 destX, uint8 d
uint16 *walkDest = _routeGrid + (destY + 1) * ROUTE_GRID_WIDTH + destX + 1;
uint16 *walkStart = _routeGrid + (startY + 1) * ROUTE_GRID_WIDTH + startX + 1;
*walkStart = 1;
- uint16 *walkPos = walkStart;
// if we are on the edge, move diagonally from start
if (roiY < ROUTE_GRID_HEIGHT-3)