summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-02 22:16:30 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-11-02 22:16:30 +0000
commita9a59f28594b87c8ac29e6739e34decd79f2fd2a (patch)
tree852c97d57b45996ff7019c2c172c21bc73695d90 /src
parent557d8dfec843cc50f628782345fe2e660225622b (diff)
downloadmana-a9a59f28594b87c8ac29e6739e34decd79f2fd2a.tar.gz
mana-a9a59f28594b87c8ac29e6739e34decd79f2fd2a.tar.bz2
mana-a9a59f28594b87c8ac29e6739e34decd79f2fd2a.tar.xz
mana-a9a59f28594b87c8ac29e6739e34decd79f2fd2a.zip
Fixed right-clicking on NPCs.
Diffstat (limited to 'src')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 9671e34f..14239094 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -381,7 +381,7 @@ void Viewport::mousePressed(gcn::MouseEvent &event)
Being *being;
FloorItem *floorItem;
- if ((being = beingManager->findBeingByPixel(tilex, tiley)) &&
+ if ((being = beingManager->findBeingByPixel(pixelx, pixely)) &&
being != player_node)
{
mPopupMenu->showPopup(event.getX(), event.getY(), being);