summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index ff80ed147..3abec043c 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -239,10 +239,15 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
addGmCommands();
mBrowserBox->addSeparator("##3---");
- // TRANSLATORS: popup menu item
- // TRANSLATORS: heal player
- mBrowserBox->addRow("/heal :'BEINGID'", _("Heal"));
- mBrowserBox->addSeparator("##3---");
+#ifdef TMWA_SUPPORT
+ if (Net::getNetworkType() == ServerType::TMWATHENA)
+ {
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: heal player
+ mBrowserBox->addRow("/heal :'BEINGID'", _("Heal"));
+ mBrowserBox->addSeparator("##3---");
+ }
+#endif // TMWA_SUPPORT
addPlayerRelation(name);
mBrowserBox->addSeparator("##3---");