From 1f7a2f1a806c0263e85046ac84504af6a8c55f47 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sun, 10 Apr 2011 19:37:49 +0300 Subject: [PATCH] Do show damage effects on our own gibs, even when not in third person mode. --- qcsrc/client/gibs.qc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qcsrc/client/gibs.qc b/qcsrc/client/gibs.qc index 2ce8a9012..7239fffe2 100644 --- a/qcsrc/client/gibs.qc +++ b/qcsrc/client/gibs.qc @@ -296,9 +296,6 @@ void Ent_DamageEffect() return; if(autocvar_cl_gentle || autocvar_cl_gentle_damage) return; - // if we aren't in third person mode, hide our own damage effect - if(entnumber == player_localentnum && !autocvar_chase_active) - return; e = get_weaponinfo(type); @@ -327,6 +324,10 @@ void Ent_DamageEffect() pointparticles(particleeffectnum(effectnum), head.origin, '0 0 0', 1); } + // if we aren't in third person mode, hide our own damage effect + if(entnumber == player_localentnum && !autocvar_chase_active) + return; + // Now apply the effect to the player. This shouldn't be done on gibbed bodies, but there's no way // to tell between them and the respawned player, if both have damage effects at the same time. if(random() < autocvar_cl_damageeffect) -- 2.39.2