DDRace clients don't work well with teams on 64 player servers

This commit is contained in:
def 2014-01-02 02:10:27 +01:00
parent 28980ef2ba
commit 314c5cb275

View file

@ -1207,7 +1207,8 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
SendBroadcast(aBuf, ClientID);
}
}
else if (MsgID == NETMSGTYPE_CL_ISDDRACE)
//else if (MsgID == NETMSGTYPE_CL_ISDDRACE)
else if (MsgID == NETMSGTYPE_CL_ISDDRACE64)
{
pPlayer->m_IsUsingDDRaceClient = true;
@ -1244,9 +1245,9 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
Msg.m_ClientID = ClientID;
Server()->SendPackMsg(&Msg, MSGFLAG_VITAL, -1);
}
}
else if (MsgID == NETMSGTYPE_CL_ISDDRACE64)
{
//}
//else if (MsgID == NETMSGTYPE_CL_ISDDRACE64)
//{
Server()->SetCustClt(ClientID);
}
else if (MsgID == NETMSGTYPE_CL_SHOWOTHERS)