Proper client version numbers

This commit is contained in:
def 2014-02-19 22:29:46 +01:00
parent 92e0b5fe3c
commit ba4d8d153e
2 changed files with 2 additions and 1 deletions

View file

@ -1029,7 +1029,7 @@ void CGameClient::OnNewSnapshot()
if(!m_DDRaceMsgSent && m_Snap.m_pLocalInfo)
{
CMsgPacker Msg(NETMSGTYPE_CL_ISDDNET);
Msg.AddInt(221);
Msg.AddInt(CLIENT_VERSIONNR);
Client()->SendMsg(&Msg, MSGFLAG_VITAL);
m_DDRaceMsgSent = true;
}

View file

@ -6,4 +6,5 @@
#define GAME_VERSION "0.6.2, 2.20"
#define GAME_NETVERSION "0.6 626fce9a778df4d4"
static const char GAME_RELEASE_VERSION[8] = "2.20";
#define CLIENT_VERSIONNR 221
#endif