From d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 20:11:13 +0300 Subject: Remove ServerFeatures haveVending because it depend only on server type. --- src/gui/popups/popupmenu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/popups/popupmenu.cpp') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index b1110c615..2082cbebf 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2705,7 +2705,8 @@ void PopupMenu::addBuySell(const Being *const being) if (player_relations.getDefault() & PlayerRelation::TRADE) { mBrowserBox->addRow("##3---"); - const bool haveVending = serverFeatures->haveVending(); + const bool haveVending = + (Net::getNetworkType() == ServerType::EATHENA); if (being->isSellShopEnabled()) { // TRANSLATORS: popup menu item -- cgit v1.2.3-70-g09d2