From cdd6fa5fe9627780a281f420c1a3f5ba5248aa72 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 18 Apr 2009 13:39:34 -0600 Subject: Make sure every eAthena packet has a #define --- src/net/ea/loginhandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net/ea/loginhandler.cpp') diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index 9c34c4cd..d9093e16 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -45,8 +45,8 @@ LoginHandler::LoginHandler() { static const Uint16 _messages[] = { SMSG_UPDATE_HOST, - 0x0069, - 0x006a, + SMSG_LOGIN_DATA, + SMSG_LOGIN_ERROR, 0 }; handledMessages = _messages; @@ -69,7 +69,7 @@ void LoginHandler::handleMessage(MessageIn &msg) mUpdateHost.c_str()); break; - case 0x0069: + case SMSG_LOGIN_DATA: // Skip the length word msg.skip(2); @@ -102,7 +102,7 @@ void LoginHandler::handleMessage(MessageIn &msg) state = STATE_CHAR_SERVER; break; - case 0x006a: + case SMSG_LOGIN_ERROR: code = msg.readInt8(); logger->log("Login::error code: %i", code); -- cgit v1.2.3-70-g09d2