summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-28 13:11:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-28 13:11:51 +0300
commitad97c3b32b98564b8288152f493e9c29c25e9326 (patch)
tree84a48b4a7120a4268444a421e63ca37cd32bf397 /src/net/eathena/playerhandler.cpp
parent5207555e9c1ffca77dca0f1544830838b26a0c7e (diff)
downloadmanaplus-ad97c3b32b98564b8288152f493e9c29c25e9326.tar.gz
manaplus-ad97c3b32b98564b8288152f493e9c29c25e9326.tar.bz2
manaplus-ad97c3b32b98564b8288152f493e9c29c25e9326.tar.xz
manaplus-ad97c3b32b98564b8288152f493e9c29c25e9326.zip
eathena: add map mask packet.
Also change network version to 3.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 3ef653de4..7e1458e90 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -59,6 +59,7 @@ PlayerHandler::PlayerHandler() :
SMSG_PVP_INFO,
SMSG_PLAYER_HEAL,
SMSG_PLAYER_SKILL_MESSAGE,
+ SMSG_MAP_MASK,
0
};
handledMessages = _messages;
@@ -130,6 +131,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
processPlayerSkillMessage(msg);
break;
+ case SMSG_MAP_MASK:
+ processMapMask(msg);
+ break;
+
default:
break;
}