From d50ef0a41191beb164e9dddc87f6ffadea5b5cc8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Jun 2015 19:34:22 +0300 Subject: Move processMapMask from ea namespace to eathena. --- src/net/ea/playerhandler.cpp | 9 --------- src/net/ea/playerhandler.h | 2 -- 2 files changed, 11 deletions(-) (limited to 'src/net/ea') 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); }; -- cgit v1.2.3-70-g09d2