From 9e266f4c1dafdba5b562e46bba3eca9dfddb95f3 Mon Sep 17 00:00:00 2001 From: "Marius \"Teelevision\" Neugebauer" Date: Fri, 28 Mar 2014 00:33:40 +0100 Subject: anti-spray protection for some cases --- src/game/server/entities/character.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/server/entities/character.cpp') diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index d7da2498..ee6b1019 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -416,6 +416,8 @@ void CCharacter::FireWeapon() // pack the Projectile and send it to the client Directly CNetObj_Projectile p; pProj->FillInfo(&p); + + pProj->SetCharactersNearby(); CMsgPacker Msg(NETMSGTYPE_SV_EXTRAPROJECTILE); Msg.AddInt(1); -- cgit 1.4.1