summaryrefslogtreecommitdiff
path: root/src/gui
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
parent3c39535b77209f4afda43b689999a7e61a1e163b (diff)
downloadmv-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.gz
mv-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.bz2
mv-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.xz
mv-eb7382cbe4c699a907ced9f2a0e6631381e74673.zip
Remove ServerFeatures haveNpcWhispers because it depend only on server type.
Diffstat (limited to 'src/gui')
-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