knife sheild

This commit is contained in:
Your Name 2020-09-11 20:47:36 -06:00
parent 8d615c6411
commit 0028cfb1f6

View File

@ -2406,7 +2406,7 @@ knife(ent, knifeDist)
if (ent.hasRiotShield)
{
entCone = ent getConeDot(self.origin, ent.origin, ent GetPlayerAngles());
if ((entCone > 0.85 && ent.hasRiotShieldEquipped) || (entCone < -0.85 && !ent.hasRiotShieldEquipped))
if ((entCone > 0.65 && ent.hasRiotShieldEquipped) || (entCone < -0.65 && !ent.hasRiotShieldEquipped))
{
// play riot shield hitting knife sound
if (!usedRiot)