From 86273941131b643ba470a1604e4f2d808306d42c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 Aug 2014 00:35:38 +0300 Subject: In eathena remove packet SMSG_SERVER_VERSION_RESPONSE. --- src/net/eathena/loginhandler.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/net/eathena/loginhandler.cpp') diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 150b47b91..8eb3099af 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -55,7 +55,6 @@ LoginHandler::LoginHandler() : SMSG_LOGIN_ERROR, SMSG_LOGIN_ERROR2, SMSG_CHAR_PASSWORD_RESPONSE, - SMSG_SERVER_VERSION_RESPONSE, 0 }; handledMessages = _messages; @@ -94,10 +93,6 @@ void LoginHandler::handleMessage(Net::MessageIn &msg) processLoginError2(msg); break; - case SMSG_SERVER_VERSION_RESPONSE: - processServerVersion(msg); - break; - default: break; } @@ -169,19 +164,6 @@ void LoginHandler::requestUpdateHosts() outMsg.writeInt8(0); // unused } -void LoginHandler::processServerVersion(Net::MessageIn &msg) -{ - msg.readUInt8(); - msg.readUInt8(); - msg.readUInt8(); - msg.readUInt8(); - msg.readInt32(); - mRegistrationEnabled = true; - serverVersion = 0; - if (client->getState() != STATE_LOGIN) - client->setState(STATE_LOGIN); -} - void LoginHandler::processUpdateHost2(Net::MessageIn &msg) const { const int len = msg.readInt16() - 4; -- cgit v1.2.3-70-g09d2