diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-24 01:56:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-24 01:56:45 +0300 |
commit | c8197ed59f213e9831b8170e3fa521041e03cb9a (patch) | |
tree | 2f3e507b57d68621fab50e4e10125244fadb0fd3 /src | |
parent | 39b049572ef0a734d3a6bd2a3def04c100f606df (diff) | |
download | plus-c8197ed59f213e9831b8170e3fa521041e03cb9a.tar.gz plus-c8197ed59f213e9831b8170e3fa521041e03cb9a.tar.bz2 plus-c8197ed59f213e9831b8170e3fa521041e03cb9a.tar.xz plus-c8197ed59f213e9831b8170e3fa521041e03cb9a.zip |
Remove packet constant from eathena net code.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 5ebec5106..8ca8bd1b7 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -134,7 +134,7 @@ void LoginHandler::sendLoginRegister(const std::string &restrict username, const std::string &restrict email A_UNUSED) const { - MessageOut outMsg(0x0064); + MessageOut outMsg(CMSG_LOGIN_REGISTER); outMsg.writeInt32(0); // client version outMsg.writeString(username, 24); outMsg.writeStringNoLog(password, 24); diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index df0527b4c..c1a3b016b 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -28,6 +28,8 @@ *********************************/ #define SMSG_SERVER_VERSION_RESPONSE 0x7531 +#define CMSG_LOGIN_REGISTER 0x0064 + #define SMSG_SERVER_PING 0x007f /**< Contains server tick */ #define SMSG_CONNECTION_PROBLEM 0x0081 |