diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 23:09:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 23:09:24 +0300 |
commit | b074109077e850b3f015fe6e60f320d4c64d23b2 (patch) | |
tree | 8c1051fe03f04921e12ee5b1c1c641a4f4ed96d4 /src/gui/popups/popupmenu.cpp | |
parent | fdebcc70f7d9559f03ffef94b8d03eba78294276 (diff) | |
download | plus-b074109077e850b3f015fe6e60f320d4c64d23b2.tar.gz plus-b074109077e850b3f015fe6e60f320d4c64d23b2.tar.bz2 plus-b074109077e850b3f015fe6e60f320d4c64d23b2.tar.xz plus-b074109077e850b3f015fe6e60f320d4c64d23b2.zip |
Remove ServerFeatures haveServerPets because depend only on server type.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 |
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 |