diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-02 12:50:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:55 +0300 |
commit | 5a033f07aa2242e6b10da1601e7612e05e6d7fa4 (patch) | |
tree | 67dba0af3a6a08e086a3e2b31fdee693f63a7054 /src/net/ea | |
parent | fe4f4d4e33ba04f05b9b316c9a262c5bd35e5b70 (diff) | |
download | manaverse-5a033f07aa2242e6b10da1601e7612e05e6d7fa4.tar.gz manaverse-5a033f07aa2242e6b10da1601e7612e05e6d7fa4.tar.bz2 manaverse-5a033f07aa2242e6b10da1601e7612e05e6d7fa4.tar.xz manaverse-5a033f07aa2242e6b10da1601e7612e05e6d7fa4.zip |
add packet comments into charserverhandler.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/charserverhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp index b7ec866f5..10f10860e 100644 --- a/src/net/ea/charserverhandler.cpp +++ b/src/net/ea/charserverhandler.cpp @@ -126,7 +126,7 @@ unsigned int CharServerHandler::maxSprite() const void CharServerHandler::processCharLoginError(Net::MessageIn &msg) const { BLOCK_START("CharServerHandler::processCharLoginError") - switch (msg.readUInt8()) + switch (msg.readUInt8("error")) { case 0: // TRANSLATORS: error message @@ -167,7 +167,7 @@ void CharServerHandler::processCharCreate(Net::MessageIn &msg) void CharServerHandler::processCharCreateFailed(Net::MessageIn &msg) { BLOCK_START("CharServerHandler::processCharCreateFailed") - switch (msg.readUInt8()) + switch (msg.readUInt8("error")) { case 1: case 0: |