summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 20:11:13 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 20:11:13 +0300
commitd9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 (patch)
treecf04cf0aeaaa854eacf8718d80c2ad863c24ebb5 /src/gui/popups/popupmenu.cpp
parentf06f491e3f9a5c47b98ec136c8eee7789152ce32 (diff)
downloadmv-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.tar.gz
mv-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.tar.bz2
mv-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.tar.xz
mv-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.zip
Remove ServerFeatures haveVending because it depend only on server type.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 2 insertions, 1 deletions
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