diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gnap/grid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gnap/grid.cpp b/engines/gnap/grid.cpp index 271f3494ee..d38f53b1e0 100644 --- a/engines/gnap/grid.cpp +++ b/engines/gnap/grid.cpp @@ -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; |