diff options
Diffstat (limited to 'src/net/charserverhandler.cpp')
-rw-r--r-- | src/net/charserverhandler.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index 76311266..0082db4c 100644 --- a/src/net/charserverhandler.cpp +++ b/src/net/charserverhandler.cpp @@ -24,8 +24,8 @@ #include "charserverhandler.h" #include "connection.h" -#include "protocol.h" #include "messagein.h" +#include "protocol.h" #include "../game.h" #include "../localplayer.h" @@ -52,8 +52,7 @@ CharServerHandler::CharServerHandler(): handledMessages = _messages; } -void -CharServerHandler::handleMessage(MessageIn &msg) +void CharServerHandler::handleMessage(MessageIn &msg) { int slot; LocalPlayer *tempPlayer; @@ -116,8 +115,7 @@ CharServerHandler::handleMessage(MessageIn &msg) } } -void -CharServerHandler::handleCharCreateResponse(MessageIn &msg) +void CharServerHandler::handleCharCreateResponse(MessageIn &msg) { int errMsg = msg.readByte(); @@ -168,8 +166,7 @@ CharServerHandler::handleCharCreateResponse(MessageIn &msg) mCharCreateDialog->unlock(); } -void -CharServerHandler::handleCharSelectResponse(MessageIn &msg) +void CharServerHandler::handleCharSelectResponse(MessageIn &msg) { int errMsg = msg.readByte(); @@ -210,8 +207,7 @@ CharServerHandler::handleCharSelectResponse(MessageIn &msg) } } -LocalPlayer* -CharServerHandler::readPlayerData(MessageIn &msg, int &slot) +LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot) { LocalPlayer *tempPlayer = new LocalPlayer; slot = msg.readByte(); // character slot |