diff options
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); |