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 3c1895d099..5485d66987 100644 --- a/engines/gob/map.cpp +++ b/engines/gob/map.cpp @@ -261,7 +261,7 @@ void Map::findNearestWalkable(int16 &gobDestX, int16 &gobDestY, int i; mapWidth = _screenWidth / _tilesWidth; - mapHeight = 200 / _tilesHeight; + mapHeight = _vm->_width / _tilesHeight; direction = 0; for (i = 1; i <= gobDestX; i++) |