diff options
author | Sven Hesse | 2011-11-03 16:58:54 +0100 |
---|---|---|
committer | Sven Hesse | 2011-11-03 17:01:54 +0100 |
commit | d43af8da796ffc243aff31b8ae31aac714be651d (patch) | |
tree | 212c57e4f665edea907c5290b8ea71b3ad400055 /engines | |
parent | c66afb213b55c7e65dd317ef4b82276a8704f43f (diff) | |
download | scummvm-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.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++) |