summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index f4d123cb4..be44210a8 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -415,15 +415,12 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
// TRANSLATORS: popup menu item
// TRANSLATORS: add monster to ignore list
_("Add to ignore list"));
- if (isAllowCommand(ServerCommandType::mobinfo))
- {
- mBrowserBox->addRow("/monsterinfo 'BEINGSUBTYPEID'",
- // TRANSLATORS: popup menu item
- // TRANSLATORS: show monster info
- _("Monster info"));
- }
}
}
+ mBrowserBox->addRow("/monsterinfo 'BEINGSUBTYPEID'",
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: show monster info
+ _("Show monster info (in chat)"));
break;
}
@@ -3335,13 +3332,6 @@ void PopupMenu::showMonsterGMCommands()
_("Disguise"));
}
mBrowserBox->addSeparator("##3---");
- if (isAllowCommand(ServerCommandType::mobinfo))
- {
- mBrowserBox->addRow("/monsterinfo 'BEINGSUBTYPEID'",
- // TRANSLATORS: popup menu item
- // TRANSLATORS: show monster information
- _("Info"));
- }
if (isAllowCommand(ServerCommandType::mobsearch))
{
mBrowserBox->addRow("/mobsearch 'BEINGSUBTYPEID'",