summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:50:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:50:28 +0300
commit616ab2676cc932ab59152c510d584c429090987a (patch)
tree9184b8836b51a073f67ee60a46043084687207a7 /src/flooritem.cpp
parent4b397f4c8e2b0c8d636cc2782d9571567473975b (diff)
downloadmv-616ab2676cc932ab59152c510d584c429090987a.tar.gz
mv-616ab2676cc932ab59152c510d584c429090987a.tar.bz2
mv-616ab2676cc932ab59152c510d584c429090987a.tar.xz
mv-616ab2676cc932ab59152c510d584c429090987a.zip
Remove getter for serverFeatures.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 5c979f46a..ae88c41b8 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -103,7 +103,7 @@ const ItemInfo &FloorItem::getInfo() const
std::string FloorItem::getName() const
{
const ItemInfo &info = ItemDB::get(mItemId);
- if (Net::getServerFeatures()->haveItemColors())
+ if (serverFeatures->haveItemColors())
return info.getName(mColor);
else
return info.getName();