aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2011-11-03 16:58:54 +0100
committerSven Hesse2011-11-03 17:01:54 +0100
commitd43af8da796ffc243aff31b8ae31aac714be651d (patch)
tree212c57e4f665edea907c5290b8ea71b3ad400055 /engines
parentc66afb213b55c7e65dd317ef4b82276a8704f43f (diff)
downloadscummvm-rg350-d43af8da796ffc243aff31b8ae31aac714be651d.tar.gz
scummvm-rg350-d43af8da796ffc243aff31b8ae31aac714be651d.tar.bz2
scummvm-rg350-d43af8da796ffc243aff31b8ae31aac714be651d.zip
GOB: Fix a very stupid typo in the pathfinder
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/map.cpp b/engines/gob/map.cpp
index 57f5f7af48..e58cd3c9a3 100644
--- a/engines/gob/map.cpp
+++ b/engines/gob/map.cpp
@@ -373,7 +373,7 @@ void Map::findNearestWalkable(int16 &gobDestX, int16 &gobDestY,
int i;
mapWidth = _screenWidth / _tilesWidth;
- mapHeight = _vm->_width / _tilesHeight;
+ mapHeight = _vm->_height / _tilesHeight;
direction = 0;
for (i = 1; i <= gobDestX; i++)