summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-22 00:23:08 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-22 04:19:02 +0300
commit7c34adebb068549ca6a56bdf1b211398a0b1de11 (patch)
tree04a1e1ba87fa2005fc32c2358b2747390d1cd9d0 /src/gui/viewport.cpp
parent54f8367afe9d30c21bcda057872439199c7dd9c1 (diff)
downloadmanaplus-7c34adebb068549ca6a56bdf1b211398a0b1de11.tar.gz
manaplus-7c34adebb068549ca6a56bdf1b211398a0b1de11.tar.bz2
manaplus-7c34adebb068549ca6a56bdf1b211398a0b1de11.tar.xz
manaplus-7c34adebb068549ca6a56bdf1b211398a0b1de11.zip
Allow show equipment from other players from context menu "show items".
Also allow undress separate items from players locally.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 1f2d06894..09fc7d24c 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -649,6 +649,11 @@ void Viewport::showAttackMonsterPopup(std::string name, int type)
name, type);
}
+void Viewport::showUndressPopup(int x, int y, Being *being, Item *item)
+{
+ mPopupMenu->showUndressPopup(x, y, being, item);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)