mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
GOB: Fix a very stupid typo in the pathfinder
This commit is contained in:
parent
c66afb213b
commit
d43af8da79
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user