summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:16 +0300
commit05f6f3e94abc5c1e1801d62100cef494e2711474 (patch)
treed3ee874dd7fa9c6b6170cae8435ea7f18eb1f102 /src/net/ea/inventoryhandler.cpp
parent11caa7aeeb3a7b40823da8573576d2354b7504b5 (diff)
downloadmv-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.gz
mv-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.bz2
mv-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.xz
mv-05f6f3e94abc5c1e1801d62100cef494e2711474.zip
Add missing const and static into net classes.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 94b81adb0..74f0a4ba7 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -337,7 +337,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
}
}
-void InventoryHandler::processPlayerInventoryRemove(Net::MessageIn &msg) const
+void InventoryHandler::processPlayerInventoryRemove(Net::MessageIn &msg)
{
Inventory *const inventory = player_node
? PlayerInfo::getInventory() : nullptr;
@@ -357,7 +357,7 @@ void InventoryHandler::processPlayerInventoryRemove(Net::MessageIn &msg) const
}
}
-void InventoryHandler::processPlayerInventoryUse(Net::MessageIn &msg) const
+void InventoryHandler::processPlayerInventoryUse(Net::MessageIn &msg)
{
Inventory *const inventory = player_node
? PlayerInfo::getInventory() : nullptr;
@@ -380,7 +380,7 @@ void InventoryHandler::processPlayerInventoryUse(Net::MessageIn &msg) const
}
}
-void InventoryHandler::processItemUseResponse(Net::MessageIn &msg) const
+void InventoryHandler::processItemUseResponse(Net::MessageIn &msg)
{
Inventory *const inventory = player_node
? PlayerInfo::getInventory() : nullptr;