From 1a77b01a78a408b54ef709cb6df0d07893843c78 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Sun, 14 Apr 2024 13:45:54 +0000 Subject: Show monster info for all, not just GMs Tested on classic & ML See merge request mana/plus!75 **** --- src/gui/popups/popupmenu.cpp | 18 ++++-------------- 1 file 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'", -- cgit v1.2.3-70-g09d2