From 5a033f07aa2242e6b10da1601e7612e05e6d7fa4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Sep 2014 12:50:30 +0300 Subject: add packet comments into charserverhandler. --- src/net/ea/charserverhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/ea') 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: -- cgit v1.2.3-70-g09d2