From b074109077e850b3f015fe6e60f320d4c64d23b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 23:09:24 +0300 Subject: Remove ServerFeatures haveServerPets because depend only on server type. --- src/gui/popups/popupmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/popups') 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 -- cgit v1.2.3-70-g09d2