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/gui/popups/itempopup.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.gz manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 manaplus-616ab2676cc932ab59152c510d584c429090987a.tar.xz manaplus-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/gui/popups/itempopup.cpp')
-rw-r--r-- | src/gui/popups/itempopup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp index fb4c3a9fd..cf471ba3e 100644 --- a/src/gui/popups/itempopup.cpp +++ b/src/gui/popups/itempopup.cpp @@ -118,7 +118,7 @@ void ItemPopup::setItem(const Item *const item, const bool showImage) mLastName = ii.getName(); mLastColor = item->getColor(); mLastId = item->getId(); - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) { mItemName->setCaption(strprintf("%s (+%u), %d", ii.getName(item->getColor()).c_str(), @@ -182,7 +182,7 @@ void ItemPopup::setItem(const ItemInfo &item, const unsigned char color, mLastColor = color; mLastId = id; - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) { mItemName->setCaption(strprintf("%s, %d", item.getName(color).c_str(), id)); |