mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
Proper client version numbers
This commit is contained in:
parent
92e0b5fe3c
commit
ba4d8d153e
|
@ -1029,7 +1029,7 @@ void CGameClient::OnNewSnapshot()
|
||||||
if(!m_DDRaceMsgSent && m_Snap.m_pLocalInfo)
|
if(!m_DDRaceMsgSent && m_Snap.m_pLocalInfo)
|
||||||
{
|
{
|
||||||
CMsgPacker Msg(NETMSGTYPE_CL_ISDDNET);
|
CMsgPacker Msg(NETMSGTYPE_CL_ISDDNET);
|
||||||
Msg.AddInt(221);
|
Msg.AddInt(CLIENT_VERSIONNR);
|
||||||
Client()->SendMsg(&Msg, MSGFLAG_VITAL);
|
Client()->SendMsg(&Msg, MSGFLAG_VITAL);
|
||||||
m_DDRaceMsgSent = true;
|
m_DDRaceMsgSent = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,4 +6,5 @@
|
||||||
#define GAME_VERSION "0.6.2, 2.20"
|
#define GAME_VERSION "0.6.2, 2.20"
|
||||||
#define GAME_NETVERSION "0.6 626fce9a778df4d4"
|
#define GAME_NETVERSION "0.6 626fce9a778df4d4"
|
||||||
static const char GAME_RELEASE_VERSION[8] = "2.20";
|
static const char GAME_RELEASE_VERSION[8] = "2.20";
|
||||||
|
#define CLIENT_VERSIONNR 221
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue