mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 18:00:44 +00:00
GNAP: Fix a small bug in Playtpuss pathfinding
This commit is contained in:
parent
9d2c537beb
commit
3209ce8003
@ -1206,8 +1206,8 @@ bool GnapEngine::platypusWalkTo(int gridX, int gridY, int animationIndex, int se
|
||||
if (!done && platFindPath3(_plat->_pos.x, _plat->_pos.y))
|
||||
done = true;
|
||||
|
||||
if (!done)
|
||||
platFindPath4(_plat->_pos.x, _plat->_pos.y);
|
||||
if (!done && platFindPath4(_plat->_pos.x, _plat->_pos.y))
|
||||
done = true;
|
||||
|
||||
int platSequenceId = _plat->_sequenceId;
|
||||
int platId = _plat->_id;
|
||||
|
Loading…
Reference in New Issue
Block a user