From a736e518012b003db5fb56ac8310c9fcd00a5c51 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 26 Mar 2005 14:42:27 +0000 Subject: Fix mouse walk to send the correct pair of coordinates to the server. --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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)); -- cgit v1.2.3-70-g09d2