diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-09-02 13:07:38 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-09-02 13:07:38 +0000 |
commit | 40ca3dc75197412594c5f6a78d68b265e235024b (patch) | |
tree | 6030c54dee22dec285f074ad72dbe59fa7c5f632 /src/gui/gui.cpp | |
parent | 3213f41daeed034c8aa9b8be9e86796737a38a78 (diff) | |
download | mana-40ca3dc75197412594c5f6a78d68b265e235024b.tar.gz mana-40ca3dc75197412594c5f6a78d68b265e235024b.tar.bz2 mana-40ca3dc75197412594c5f6a78d68b265e235024b.tar.xz mana-40ca3dc75197412594c5f6a78d68b265e235024b.zip |
Corrected mistake in using player coordinates instead of mouse coordinates.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 3 |
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) |