Partially Revert "Refactoring" to keep DDRace compatible with SushiTee's Stuff

This partially reverts commit 505a5b4172.
This commit is contained in:
GreYFoXGTi 2010-10-30 20:05:43 +02:00
parent 02c68dea79
commit 8d88f5d541
3 changed files with 3 additions and 3 deletions

View file

@ -294,7 +294,7 @@ Messages = [
NetStringStrict("m_Value"), NetStringStrict("m_Value"),
]), ]),
NetMessage("Cl_IsDDRace", []), NetMessage("Cl_IsRace", []),
NetMessage("Cl_TeamsState", [ NetMessage("Cl_TeamsState", [
NetIntAny("m_Tee0"), NetIntAny("m_Tee0"),

View file

@ -847,7 +847,7 @@ void CGameClient::OnNewSnapshot()
if(!m_DDRaceMsgSent && m_Snap.m_pLocalInfo) if(!m_DDRaceMsgSent && m_Snap.m_pLocalInfo)
{ {
CNetMsg_Cl_IsDDRace Msg; CNetMsg_Cl_IsRace Msg;
Client()->SendPackMsg(&Msg, MSGFLAG_VITAL); Client()->SendPackMsg(&Msg, MSGFLAG_VITAL);
m_DDRaceMsgSent = true; m_DDRaceMsgSent = true;
} }

View file

@ -958,7 +958,7 @@ void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId)
SendBroadcast(aBuf, ClientId); SendBroadcast(aBuf, ClientId);
} }
} }
else if (MsgId == NETMSGTYPE_CL_ISDDRACE) else if (MsgId == NETMSGTYPE_CL_ISRACE)
{ {
pPlayer->m_IsUsingDDRaceClient = true; pPlayer->m_IsUsingDDRaceClient = true;
char aBuf[128]; char aBuf[128];