summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-09-02 13:07:38 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-09-02 13:07:38 +0000
commit40ca3dc75197412594c5f6a78d68b265e235024b (patch)
tree6030c54dee22dec285f074ad72dbe59fa7c5f632 /src/gui
parent3213f41daeed034c8aa9b8be9e86796737a38a78 (diff)
downloadmana-client-40ca3dc75197412594c5f6a78d68b265e235024b.tar.gz
mana-client-40ca3dc75197412594c5f6a78d68b265e235024b.tar.bz2
mana-client-40ca3dc75197412594c5f6a78d68b265e235024b.tar.xz
mana-client-40ca3dc75197412594c5f6a78d68b265e235024b.zip
Corrected mistake in using player coordinates instead of mouse coordinates.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 1 insertions, 2 deletions
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)