summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 23:13:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 23:13:33 +0300
commit3db50047155e200c9ece17e711d7334e49aff84f (patch)
treecc6aaf717c427cf76012bc57d047bdafa22ea184 /src/gui/popups/popupmenu.cpp
parentb074109077e850b3f015fe6e60f320d4c64d23b2 (diff)
downloadmanaplus-3db50047155e200c9ece17e711d7334e49aff84f.tar.gz
manaplus-3db50047155e200c9ece17e711d7334e49aff84f.tar.bz2
manaplus-3db50047155e200c9ece17e711d7334e49aff84f.tar.xz
manaplus-3db50047155e200c9ece17e711d7334e49aff84f.zip
Remove ServerFeatures haveFamily because in only depend on server type.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 4ef053039..33cbacfd2 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -3408,7 +3408,7 @@ void PopupMenu::addCatchPetCommands()
void PopupMenu::showAdoptCommands()
{
- if (!serverFeatures->haveFamily())
+ if (Net::getNetworkType() == ServerType::TMWATHENA)
return;
// TRANSLATORS: popup menu item
// TRANSLATORS: adopt child command