summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 23:09:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 23:09:24 +0300
commitb074109077e850b3f015fe6e60f320d4c64d23b2 (patch)
tree8c1051fe03f04921e12ee5b1c1c641a4f4ed96d4 /src/gui
parentfdebcc70f7d9559f03ffef94b8d03eba78294276 (diff)
downloadmv-b074109077e850b3f015fe6e60f320d4c64d23b2.tar.gz
mv-b074109077e850b3f015fe6e60f320d4c64d23b2.tar.bz2
mv-b074109077e850b3f015fe6e60f320d4c64d23b2.tar.xz
mv-b074109077e850b3f015fe6e60f320d4c64d23b2.zip
Remove ServerFeatures haveServerPets because depend only on server type.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 630ec70b6..4ef053039 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1139,7 +1139,7 @@ void PopupMenu::showEmoteType()
// TRANSLATORS: show emotes for pet
mBrowserBox->addRow("/setemotetype pet", _("Pet"));
- if (serverFeatures->haveServerPets())
+ if (Net::getNetworkType() == ServerType::EATHENA)
{
// TRANSLATORS: popup menu item
// TRANSLATORS: show emotes for homuncules
@@ -3399,7 +3399,7 @@ void PopupMenu::addMailCommands()
void PopupMenu::addCatchPetCommands()
{
- if (!serverFeatures->haveServerPets())
+ if (Net::getNetworkType() == ServerType::TMWATHENA)
return;
// TRANSLATORS: popup menu item
// TRANSLATORS: catch pet command