summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 17:33:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit4466a6a4b4c39dc91c2b37b0368a83c8e83e197f (patch)
tree04d526f85ad4f2e494cce8bdbee0511bc80d4e99 /src/net/eathena
parent85eebe87172021e63267515c6a7964efccb6015c (diff)
downloadmv-4466a6a4b4c39dc91c2b37b0368a83c8e83e197f.tar.gz
mv-4466a6a4b4c39dc91c2b37b0368a83c8e83e197f.tar.bz2
mv-4466a6a4b4c39dc91c2b37b0368a83c8e83e197f.tar.xz
mv-4466a6a4b4c39dc91c2b37b0368a83c8e83e197f.zip
fix const in declatations in npchandler.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/npchandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index 05d6bb0b1..a1ea47d8a 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -242,14 +242,14 @@ int NpcHandler::getNpc(Net::MessageIn &msg, const bool haveLength)
}
void NpcHandler::processNpcCutin(Net::MessageIn &msg A_UNUSED,
- int npcId A_UNUSED) const
+ const int npcId A_UNUSED) const
{
msg.readString(64); // image name
msg.readInt8(); // type
}
void NpcHandler::processNpcViewPoint(Net::MessageIn &msg A_UNUSED,
- int npcId A_UNUSED) const
+ const int npcId A_UNUSED) const
{
msg.readInt32(); // type
msg.readInt32(); // x