summaryrefslogtreecommitdiff
path: root/src/net/ea/itemhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 21:52:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 21:52:15 +0300
commit78744020528ef6231e1606bbe2e8c53011c77935 (patch)
tree3055821a8dabab37c660fdc3b99309f970158b69 /src/net/ea/itemhandler.cpp
parentc0d5142d1ed98b62ad87603fa9d2620dce256bd7 (diff)
downloadmanaplus-78744020528ef6231e1606bbe2e8c53011c77935.tar.gz
manaplus-78744020528ef6231e1606bbe2e8c53011c77935.tar.bz2
manaplus-78744020528ef6231e1606bbe2e8c53011c77935.tar.xz
manaplus-78744020528ef6231e1606bbe2e8c53011c77935.zip
add const to net classes.
Diffstat (limited to 'src/net/ea/itemhandler.cpp')
-rw-r--r--src/net/ea/itemhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp
index aafe6fc4b..9c9a74b2d 100644
--- a/src/net/ea/itemhandler.cpp
+++ b/src/net/ea/itemhandler.cpp
@@ -37,7 +37,7 @@ ItemHandler::~ItemHandler()
{
}
-void ItemHandler::processItemVisible(Net::MessageIn &msg)
+void ItemHandler::processItemVisible(Net::MessageIn &msg) const
{
const int id = msg.readInt32();
const int itemId = msg.readInt16();
@@ -55,7 +55,7 @@ void ItemHandler::processItemVisible(Net::MessageIn &msg)
}
}
-void ItemHandler::processItemDropped(Net::MessageIn &msg)
+void ItemHandler::processItemDropped(Net::MessageIn &msg) const
{
const int id = msg.readInt32();
const int itemId = msg.readInt16();
@@ -73,7 +73,7 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg)
}
}
-void ItemHandler::processItemRemove(Net::MessageIn &msg)
+void ItemHandler::processItemRemove(Net::MessageIn &msg) const
{
if (actorSpriteManager)
{