diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-05-22 18:18:41 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-05-22 18:18:41 +0000 |
| commit | 46c7fa9e80189a455cdf8ce7958ea4fd87d1fc86 (patch) | |
| tree | c9752acd22667060c03ba8c790b8b7a71a7aea4a /src/client.cpp | |
| parent | faa63fe03fea0150f8d0efc066aa39abdf905da9 (diff) | |
| download | zcatch-46c7fa9e80189a455cdf8ce7958ea4fd87d1fc86.tar.gz zcatch-46c7fa9e80189a455cdf8ce7958ea4fd87d1fc86.zip | |
added versions
Diffstat (limited to 'src/client.cpp')
| -rw-r--r-- | src/client.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 3332a630..df5fec16 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -15,6 +15,8 @@ #include "lzw.h" +#include "versions.h" + using namespace baselib; // --- string handling (MOVE THESE!!) --- @@ -220,7 +222,7 @@ public: recived_snapshots = 0; packet p(NETMSG_CLIENT_CONNECT); - p.write_str("dev v1", 32); // payload + p.write_str(TEEWARS_NETVERSION, 32); // payload p.write_str(name,MAX_NAME_LENGTH); p.write_str("no clan", MAX_CLANNAME_LENGTH); p.write_str("password", 32); |