summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 16:23:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 16:23:45 +0300
commit23af9b972ec8d4a1094aadf0d0171f16d82a7fcb (patch)
treeb4624e65abfb099a280183054fafe25f65299436 /src/gui/popups
parentab608a29a138cd5db47fad949f1f3993d21af153 (diff)
downloadmanaverse-23af9b972ec8d4a1094aadf0d0171f16d82a7fcb.tar.gz
manaverse-23af9b972ec8d4a1094aadf0d0171f16d82a7fcb.tar.bz2
manaverse-23af9b972ec8d4a1094aadf0d0171f16d82a7fcb.tar.xz
manaverse-23af9b972ec8d4a1094aadf0d0171f16d82a7fcb.zip
Improve undress popup menu item.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index d1e23b558..74908fd98 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1078,10 +1078,6 @@ void PopupMenu::handleLink(const std::string &link,
{
CREATEWIDGET(TextCommandEditor, mSpell);
}
- else if (link == "undress" && being)
- {
- beingHandler->undress(being);
- }
else if (link == "addcomment" && !mNick.empty())
{
TextDialog *const dialog = CREATEWIDGETR(TextDialog,
@@ -2593,7 +2589,7 @@ void PopupMenu::addPlayerMisc()
mBrowserBox->addRow("items", _("Show Items"));
// TRANSLATORS: popup menu item
// TRANSLATORS: undress player
- mBrowserBox->addRow("undress", _("Undress"));
+ mBrowserBox->addRow("/undress :'BEINGID'", _("Undress"));
// TRANSLATORS: popup menu item
// TRANSLATORS: add comment to player
mBrowserBox->addRow("addcomment", _("Add comment"));