mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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)
|
||||
{
|
||||
CMsgPacker Msg(NETMSGTYPE_CL_ISDDNET);
|
||||
Msg.AddInt(221);
|
||||
Msg.AddInt(CLIENT_VERSIONNR);
|
||||
Client()->SendMsg(&Msg, MSGFLAG_VITAL);
|
||||
m_DDRaceMsgSent = true;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue