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 34fc5a3ea3
commit f7d4c0e174

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