diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 1053fa1c9..1f2d06894 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -306,7 +306,7 @@ void Viewport::_drawDebugPath(Graphics *graphics) debugPath = mMap->findPath( static_cast<int>(playerPos.x - 16) / 32, static_cast<int>(playerPos.y - 32) / 32, - mousePosX / 32, mousePosY / 32, 0, 500); + mousePosX / 32, mousePosY / 32, player_node->getWalkMask(), 500); lastMouseDestination = mouseDestination; } |