From 40ca3dc75197412594c5f6a78d68b265e235024b Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 2 Sep 2006 13:07:38 +0000 Subject: Corrected mistake in using player coordinates instead of mouse coordinates. --- src/gui/gui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 6c46d636..74197a14 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -322,8 +322,7 @@ Gui::mousePress(int mx, int my, int button) { // Find the being nearest to the clicked position Being *target = beingManager->findNearestLivingBeing( - player_node->mX, - player_node->mY, + tilex, tiley, 20, Being::MONSTER); if (target) -- cgit v1.2.3-70-g09d2