summaryrefslogtreecommitdiff
path: root/src/net/eathena/gamehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-01 00:16:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:54 +0300
commitcf302132a1a1b7a9a05710f51ac4cdf20afa3f6b (patch)
tree988e1d5188549807485d37cb4ad04f98998e9dbf /src/net/eathena/gamehandler.cpp
parent173aab787e9ddfcbdd04c2f1e1e61fdb2e7eb5c5 (diff)
downloadplus-cf302132a1a1b7a9a05710f51ac4cdf20afa3f6b.tar.gz
plus-cf302132a1a1b7a9a05710f51ac4cdf20afa3f6b.tar.bz2
plus-cf302132a1a1b7a9a05710f51ac4cdf20afa3f6b.tar.xz
plus-cf302132a1a1b7a9a05710f51ac4cdf20afa3f6b.zip
eathena: fix packet id CMSG_MAP_SERVER_CONNECT 0x022d.
Diffstat (limited to 'src/net/eathena/gamehandler.cpp')
-rw-r--r--src/net/eathena/gamehandler.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index c21b37611..54c64d995 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -126,12 +126,11 @@ void GameHandler::connect()
// Send login infos
MessageOut outMsg(CMSG_MAP_SERVER_CONNECT);
- outMsg.writeInt32(token.account_ID);
- outMsg.writeInt32(mCharID);
- outMsg.writeInt32(token.session_ID1);
- outMsg.writeInt32(token.session_ID2);
- outMsg.writeInt8(Being::genderToInt(token.sex));
-
+ outMsg.writeInt32(token.account_ID, "account id");
+ outMsg.writeInt32(mCharID, "char id");
+ outMsg.writeInt32(token.session_ID1, "session key1");
+ outMsg.writeInt32(token.session_ID2, "session key2");
+ outMsg.writeInt8(Being::genderToInt(token.sex), "sex");
/*
if (localPlayer)
{