summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 19:34:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 19:34:22 +0300
commitd50ef0a41191beb164e9dddc87f6ffadea5b5cc8 (patch)
tree9911b35ebbbcc8658b5bb8c517b034a5131061e4 /src/net/ea
parentd9773c380e06c089cfee85f07a81ab9167af2982 (diff)
downloadmanaverse-d50ef0a41191beb164e9dddc87f6ffadea5b5cc8.tar.gz
manaverse-d50ef0a41191beb164e9dddc87f6ffadea5b5cc8.tar.bz2
manaverse-d50ef0a41191beb164e9dddc87f6ffadea5b5cc8.tar.xz
manaverse-d50ef0a41191beb164e9dddc87f6ffadea5b5cc8.zip
Move processMapMask from ea namespace to eathena.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/playerhandler.cpp9
-rw-r--r--src/net/ea/playerhandler.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 46dee6769..8b4ed3b34 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -449,15 +449,6 @@ void PlayerHandler::setStat(Net::MessageIn &msg,
}
}
-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;
diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h
index 2134db051..33465eb80 100644
--- a/src/net/ea/playerhandler.h
+++ b/src/net/ea/playerhandler.h
@@ -78,8 +78,6 @@ class PlayerHandler notfinal : public Net::PlayerHandler
static void processPlayerArrowMessage(Net::MessageIn &msg);
- static void processMapMask(Net::MessageIn &msg);
-
static void processMapMusic(Net::MessageIn &msg);
};