diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
commit | 616ab2676cc932ab59152c510d584c429090987a (patch) | |
tree | 9184b8836b51a073f67ee60a46043084687207a7 /src/shopitem.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | manaverse-616ab2676cc932ab59152c510d584c429090987a.tar.gz manaverse-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 manaverse-616ab2676cc932ab59152c510d584c429090987a.tar.xz manaverse-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/shopitem.cpp')
-rw-r--r-- | src/shopitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shopitem.cpp b/src/shopitem.cpp index ec79a29da..10491ef2d 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -42,7 +42,7 @@ ShopItem::ShopItem(const int inventoryIndex, const int id, mPrice(price), mShowQuantity(true) { - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) { mDisplayName = std::string(getInfo().getName(color)).append(" (") .append(Units::formatCurrency(mPrice)).append(") "); @@ -66,7 +66,7 @@ ShopItem::ShopItem(const int id, const unsigned char color, const int price) : mPrice(price), mShowQuantity(false) { - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) { mDisplayName = std::string(getInfo().getName(color)).append(" (") .append(Units::formatCurrency(mPrice)).append(")"); @@ -94,7 +94,7 @@ void ShopItem::update() { if (mShowQuantity) { - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) { mDisplayName = std::string(getInfo().getName(mColor)).append(" (") .append(Units::formatCurrency(mPrice)).append(") "); |