summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp2
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;
}