diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-04 16:54:35 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-04 16:54:35 +0000 |
commit | 2d12043f225263004b91e256e4b0d14c4842236e (patch) | |
tree | 6dda6785e9d8853badaaa7b22f87d5ac159626e5 /src/net/loginhandler.cpp | |
parent | 9dc99e1888de6194c7ce555c33245e6bff586b3d (diff) | |
download | mana-client-2d12043f225263004b91e256e4b0d14c4842236e.tar.gz mana-client-2d12043f225263004b91e256e4b0d14c4842236e.tar.bz2 mana-client-2d12043f225263004b91e256e4b0d14c4842236e.tar.xz mana-client-2d12043f225263004b91e256e4b0d14c4842236e.zip |
Unify the various login dialogs to use LoginData.
Diffstat (limited to 'src/net/loginhandler.cpp')
-rw-r--r-- | src/net/loginhandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/loginhandler.cpp b/src/net/loginhandler.cpp index fd525d99..aca08e6a 100644 --- a/src/net/loginhandler.cpp +++ b/src/net/loginhandler.cpp @@ -28,6 +28,7 @@ #include "protocol.h" #include "../log.h" +#include "../logindata.h" #include "../main.h" #include "../serverinfo.h" @@ -54,9 +55,9 @@ void LoginHandler::handleMessage(MessageIn *msg) n_server = (msg->getLength() - 47) / 32; server_info = (SERVER_INFO**)malloc(sizeof(SERVER_INFO*) * n_server); - session_ID1 = msg->readInt32(); - account_ID = msg->readInt32(); - session_ID2 = msg->readInt32(); + mLoginData->session_ID1 = msg->readInt32(); + mLoginData->account_ID = msg->readInt32(); + mLoginData->session_ID2 = msg->readInt32(); msg->skip(30); // unknown sex = msg->readInt8(); |