Kill for both with cl_dummy_copy_moves

This commit is contained in:
def 2015-02-18 14:23:25 +01:00
parent 1b6cc638f7
commit 7f54f8e10e

View file

@ -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)