mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 12:08:20 +00:00
Kill for both with cl_dummy_copy_moves
This commit is contained in:
parent
1b6cc638f7
commit
7f54f8e10e
|
@ -1762,6 +1762,12 @@ void CGameClient::SendKill(int ClientID)
|
||||||
{
|
{
|
||||||
CNetMsg_Cl_Kill Msg;
|
CNetMsg_Cl_Kill Msg;
|
||||||
Client()->SendPackMsg(&Msg, MSGFLAG_VITAL);
|
Client()->SendPackMsg(&Msg, MSGFLAG_VITAL);
|
||||||
|
|
||||||
|
if(g_Config.m_ClDummyCopyMoves)
|
||||||
|
{
|
||||||
|
CMsgPacker Msg(NETMSGTYPE_CL_KILL);
|
||||||
|
Client()->SendMsgExY(&Msg, MSGFLAG_VITAL, false, !g_Config.m_ClDummy);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGameClient::ConTeam(IConsole::IResult *pResult, void *pUserData)
|
void CGameClient::ConTeam(IConsole::IResult *pResult, void *pUserData)
|
||||||
|
|
Loading…
Reference in a new issue