From: Mircea Kitsune Date: Sun, 10 Apr 2011 21:14:14 +0000 (+0300) Subject: Do show damage effects on our own dead bodies. X-Git-Tag: xonotic-v0.6.0~110^2^2~109 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c3d9fd12137d3e490f9c65fe4ea15e6e08bf4102;p=xonotic%2Fxonotic-data.pk3dir.git Do show damage effects on our own dead bodies. --- diff --git a/qcsrc/client/gibs.qc b/qcsrc/client/gibs.qc index e4c4f2d33..6b1ea0451 100644 --- a/qcsrc/client/gibs.qc +++ b/qcsrc/client/gibs.qc @@ -326,7 +326,7 @@ void Ent_DamageEffect() } // if we aren't in third person mode, hide our own damage effect - if(entnumber == player_localentnum && !autocvar_chase_active) + if(!body && 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