summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.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/net/eathena/inventoryhandler.cpp
parent4b397f4c8e2b0c8d636cc2782d9571567473975b (diff)
downloadmanaverse-616ab2676cc932ab59152c510d584c429090987a.tar.gz
manaverse-616ab2676cc932ab59152c510d584c429090987a.tar.bz2
manaverse-616ab2676cc932ab59152c510d584c429090987a.tar.xz
manaverse-616ab2676cc932ab59152c510d584c429090987a.zip
Remove getter for serverFeatures.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index e2ffe196c..487b22a9f 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -378,7 +378,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
if (item && item->getId() == itemId)
amount += item->getQuantity();
- if (!Net::getServerFeatures()->haveItemColors() && identified > 1)
+ if (!serverFeatures->haveItemColors() && identified > 1)
identified = 1;
inventory->setItem(index, itemId, amount, refine,