diff --git a/datasrc/network.py b/datasrc/network.py index d10f11960..de6f7b19e 100644 --- a/datasrc/network.py +++ b/datasrc/network.py @@ -294,7 +294,7 @@ Messages = [ NetStringStrict("m_Value"), ]), - NetMessage("Cl_IsDDRace", []), + NetMessage("Cl_IsRace", []), NetMessage("Cl_TeamsState", [ NetIntAny("m_Tee0"), diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 32cecc865..264982dfa 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -847,7 +847,7 @@ void CGameClient::OnNewSnapshot() if(!m_DDRaceMsgSent && m_Snap.m_pLocalInfo) { - CNetMsg_Cl_IsDDRace Msg; + CNetMsg_Cl_IsRace Msg; Client()->SendPackMsg(&Msg, MSGFLAG_VITAL); m_DDRaceMsgSent = true; } diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index c99dcc753..c65a8571a 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -958,7 +958,7 @@ void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId) SendBroadcast(aBuf, ClientId); } } - else if (MsgId == NETMSGTYPE_CL_ISDDRACE) + else if (MsgId == NETMSGTYPE_CL_ISRACE) { pPlayer->m_IsUsingDDRaceClient = true; char aBuf[128];