summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-07-27 21:10:56 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-07-27 21:10:56 +0000
commit18b73fdadd715d356416a95c31a25b3293fa2596 (patch)
tree9e8d284780f024da09abebb3ce82a4272a3d27d4
parent4b04c501e2391c9226595679c064510c6ea2e94c (diff)
downloadmana-18b73fdadd715d356416a95c31a25b3293fa2596.tar.gz
mana-18b73fdadd715d356416a95c31a25b3293fa2596.tar.bz2
mana-18b73fdadd715d356416a95c31a25b3293fa2596.tar.xz
mana-18b73fdadd715d356416a95c31a25b3293fa2596.zip
Modified client version to be an int.
-rw-r--r--ChangeLog4
-rw-r--r--src/main.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2af8e09a..f98cea5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);