diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-07-27 Eugenio Favalli <elvenprogrammer@gmail.com> + + * src/gui/main.cpp: Modified client version to be an int. + 2006-07-26 Eugenio Favalli <elvenprogrammer@gmail.com> * src/gui/char_server.cpp, src/gui/char_sever.h, src/main.cpp, diff --git a/src/main.cpp b/src/main.cpp index deca661c..8cd6eeb6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -430,7 +430,7 @@ void accountLogin(Network *network, LoginData *loginData) // Send login infos MessageOut *msg = new MessageOut(); msg->writeShort(PAMSG_LOGIN); - msg->writeString("0.1.0"); // client version + msg->writeLong(0); // client version msg->writeString(loginData->username); msg->writeString(loginData->password); network->send(msg); |