summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroy <tom_adams@web.de>2018-11-24 11:23:26 +0100
committerGitHub <noreply@github.com>2018-11-24 11:23:26 +0100
commit7d8234e31c65c645731f0fb7b8e079251050b77a (patch)
treeb0001a35e2c2472bc47f3afd68761f8acfd49186
parenteaafc2eb1c9c9eb1eeaac68e50274c6bbf8eb0df (diff)
Made the 0.6 version server broadcast 0.7.1 as new version
-rw-r--r--src/versionsrv/versionsrv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/versionsrv/versionsrv.cpp b/src/versionsrv/versionsrv.cpp
index 9d6e2960c..4286efc16 100644
--- a/src/versionsrv/versionsrv.cpp
+++ b/src/versionsrv/versionsrv.cpp
@@ -62,8 +62,9 @@ void SendVer(NETADDR *pAddr)
CNetChunk p;
unsigned char aData[sizeof(VERSIONSRV_VERSION) + sizeof(GAME_RELEASE_VERSION)];
+ char aGameVersion[8] = {'0', '.', '7', '.', '1', 0};
mem_copy(aData, VERSIONSRV_VERSION, sizeof(VERSIONSRV_VERSION));
- mem_copy(aData + sizeof(VERSIONSRV_VERSION), GAME_RELEASE_VERSION, sizeof(GAME_RELEASE_VERSION));
+ mem_copy(aData + sizeof(VERSIONSRV_VERSION), aGameVersion, sizeof(aGameVersion));
p.m_ClientID = -1;
p.m_Address = *pAddr;