summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-18 13:39:34 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-18 14:34:12 -0600
commitcdd6fa5fe9627780a281f420c1a3f5ba5248aa72 (patch)
treed3b0ea1f1edf37bae205fbcdc7e3a1ee5a06e08e /src/net/ea/loginhandler.cpp
parent1032dcdc6cb7084db493cb5f88bd5cade17e2fdf (diff)
downloadmana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.tar.gz
mana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.tar.bz2
mana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.tar.xz
mana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.zip
Make sure every eAthena packet has a #define
Diffstat (limited to 'src/net/ea/loginhandler.cpp')
-rw-r--r--src/net/ea/loginhandler.cpp8
1 files changed, 4 insertions, 4 deletions
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);