summaryrefslogtreecommitdiff
path: root/src/main.cpp
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 /src/main.cpp
parent4b04c501e2391c9226595679c064510c6ea2e94c (diff)
downloadmana-18b73fdadd715d356416a95c31a25b3293fa2596.tar.gz
mana-18b73fdadd715d356416a95c31a25b3293fa2596.tar.bz2
mana-18b73fdadd715d356416a95c31a25b3293fa2596.tar.xz
mana-18b73fdadd715d356416a95c31a25b3293fa2596.zip
Modified client version to be an int.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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);