GOB: Fix a very stupid typo in the pathfinder

This commit is contained in:
Sven Hesse 2011-11-03 16:58:54 +01:00
parent c66afb213b
commit d43af8da79

View File

@ -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++)