diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 20:11:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 20:11:13 +0300 |
commit | d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 (patch) | |
tree | cf04cf0aeaaa854eacf8718d80c2ad863c24ebb5 /src/being/localplayer.cpp | |
parent | f06f491e3f9a5c47b98ec136c8eee7789152ce32 (diff) | |
download | manaplus-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.tar.gz manaplus-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.tar.bz2 manaplus-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.tar.xz manaplus-d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1.zip |
Remove ServerFeatures haveVending because it depend only on server type.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 81eb8f2c1..df69ffb38 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2755,7 +2755,7 @@ void LocalPlayer::updateStatus() const if (serverFeatures->havePlayerStatusUpdate() && mEnableAdvert) { uint8_t status = 0; - if (!serverFeatures->haveVending()) + if (Net::getNetworkType() == ServerType::TMWATHENA) { if (mTradebot && shopWindow && !shopWindow->isShopEmpty()) status |= BeingFlag::SHOP; |