diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-15 00:19:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-15 00:19:35 +0300 |
commit | f53e001120632302d214c9b90c373019448a889b (patch) | |
tree | 2cde2020d323aa65bd1a921051001a2adcb94b56 /src/gui/viewport.cpp | |
parent | 981301a12e50dde848f7ddf9e78168d15673c9fc (diff) | |
download | manaverse-f53e001120632302d214c9b90c373019448a889b.tar.gz manaverse-f53e001120632302d214c9b90c373019448a889b.tar.bz2 manaverse-f53e001120632302d214c9b90c373019448a889b.tar.xz manaverse-f53e001120632302d214c9b90c373019448a889b.zip |
Fix context menu positions in some windows.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 15353d9f9..0fc7444ec 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -630,6 +630,11 @@ void Viewport::showPopup(int x, int y, Being *being) mPopupMenu->showPopup(x, y, being); } +void Viewport::showPopup(Being *being) +{ + mPopupMenu->showPopup(getMouseX(), getMouseY(), being); +} + void Viewport::showPlayerPopup(std::string nick) { mPopupMenu->showPlayerPopup(getMouseX(), getMouseY(), nick); |