summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/playerhandler.cpp
parent5207555e9c1ffca77dca0f1544830838b26a0c7e (diff)
downloadplus-ad97c3b32b98564b8288152f493e9c29c25e9326.tar.gz
plus-ad97c3b32b98564b8288152f493e9c29c25e9326.tar.bz2
plus-ad97c3b32b98564b8288152f493e9c29c25e9326.tar.xz
plus-ad97c3b32b98564b8288152f493e9c29c25e9326.zip
eathena: add map mask packet.
Also change network version to 3.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index a73c4c28b..8bea7d01e 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -329,15 +329,6 @@ void PlayerHandler::updateStatus(const uint8_t status) const
outMsg.writeInt8(0, "unused");
}
-void PlayerHandler::processMapMask(Net::MessageIn &msg)
-{
- const int mask = msg.readInt32("mask");
- msg.readInt32("unused");
- Map *const map = Game::instance()->getCurrentMap();
- if (map)
- map->setMask(mask);
-}
-
void PlayerHandler::processMapMusic(Net::MessageIn &msg)
{
const int size = msg.readInt16("len") - 5;