summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 99514e9e..899ae374 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -95,7 +95,7 @@ void Gui::mousePress(int mx, int my, int button)
// Experimental mouse walk support
if (state == GAME) {
- walk(mx, my, 0);
+ walk(tilex, tiley, 0);
player_node->setPath(tiledMap->findPath(
player_node->x, player_node->y,
tilex, tiley));