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/item.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | mv-616ab2676cc932ab59152c510d584c429090987a.tar.gz mv-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 mv-616ab2676cc932ab59152c510d584c429090987a.tar.xz mv-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cpp b/src/item.cpp index ca860eeea..b8c2194f3 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -117,7 +117,7 @@ Image *Item::getImage(const int id, const unsigned char color) std::string Item::getName() const { const ItemInfo &info = ItemDB::get(mId); - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) return info.getName(mColor); else return info.getName(); |