summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 19:10:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 19:10:28 +0300
commiteb7382cbe4c699a907ced9f2a0e6631381e74673 (patch)
tree92164dfc4b3cf02a9a2ed1554743880e2ce8607e /src/gui/popups/popupmenu.cpp
parent3c39535b77209f4afda43b689999a7e61a1e163b (diff)
downloadplus-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.gz
plus-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.bz2
plus-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.xz
plus-eb7382cbe4c699a907ced9f2a0e6631381e74673.zip
Remove ServerFeatures haveNpcWhispers because it depend only on server type.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 370700f48..b1110c615 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -265,7 +265,9 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
// TRANSLATORS: popup menu item
// TRANSLATORS: talk with npc
mBrowserBox->addRow("/talk 'NAME'", _("Talk"));
- if (serverFeatures->haveNpcWhispers())
+#ifdef TMWA_SUPPORT
+ if (Net::getNetworkType() == ServerType::EATHENA)
+#endif
{
mBrowserBox->addRow("/whispertext NPC:'NAME'",
// TRANSLATORS: popup menu item