From 4edf9cac82776c5333afaa647f7a982383837406 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Jun 2015 17:56:24 +0300 Subject: Remove unused old evol packets from tmwa namespace. --- src/net/tmwa/playerhandler.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/net/tmwa/playerhandler.cpp') diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 6e638687a..f0d9d5b08 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -54,8 +54,6 @@ PlayerHandler::PlayerHandler() : SMSG_PLAYER_STAT_UPDATE_5, SMSG_PLAYER_STAT_UPDATE_6, SMSG_PLAYER_ARROW_MESSAGE, - SMSG_ONLINE_LIST, - SMSG_MAP_MASK, SMSG_MAP_MUSIC, 0 }; @@ -105,14 +103,6 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) processPlayerArrowMessage(msg); break; - case SMSG_ONLINE_LIST: - processOnlineList(msg); - break; - - case SMSG_MAP_MASK: - processMapMask(msg); - break; - case SMSG_MAP_MUSIC: processMapMusic(msg); break; @@ -227,7 +217,6 @@ void PlayerHandler::respawn() const void PlayerHandler::requestOnlineList() const { - createOutPacket(CMSG_ONLINE_LIST); } void PlayerHandler::removeOption() const @@ -242,11 +231,8 @@ void PlayerHandler::setMemo() const { } -void PlayerHandler::updateStatus(const uint8_t status) const +void PlayerHandler::updateStatus(const uint8_t status A_UNUSED) const { - createOutPacket(CMSG_SET_STATUS); - outMsg.writeInt8(status, "status"); - outMsg.writeInt8(0, "unused"); } void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2