mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
DDRace clients don't work well with teams on 64 player servers
This commit is contained in:
parent
28980ef2ba
commit
314c5cb275
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue