diff options
Diffstat (limited to 'engines/gob/map.cpp')
-rw-r--r-- | engines/gob/map.cpp | 2 |
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++) |