GOB: Fix a very stupid typo in the pathfinder
This commit is contained in:
parent
34fc5a3ea3
commit
f7d4c0e174
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ void Map::findNearestWalkable(int16 &gobDestX, int16 &gobDestY,
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
mapWidth = _screenWidth / _tilesWidth;
|
mapWidth = _screenWidth / _tilesWidth;
|
||||||
mapHeight = _vm->_width / _tilesHeight;
|
mapHeight = _vm->_height / _tilesHeight;
|
||||||
direction = 0;
|
direction = 0;
|
||||||
|
|
||||||
for (i = 1; i <= gobDestX; i++)
|
for (i = 1; i <= gobDestX; i++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue