diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 19:10:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 19:10:28 +0300 |
commit | eb7382cbe4c699a907ced9f2a0e6631381e74673 (patch) | |
tree | 92164dfc4b3cf02a9a2ed1554743880e2ce8607e /src/gui/popups | |
parent | 3c39535b77209f4afda43b689999a7e61a1e163b (diff) | |
download | manaverse-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.gz manaverse-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.bz2 manaverse-eb7382cbe4c699a907ced9f2a0e6631381e74673.tar.xz manaverse-eb7382cbe4c699a907ced9f2a0e6631381e74673.zip |
Remove ServerFeatures haveNpcWhispers because it depend only on server type.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 |
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 |