]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Do show damage effects on our own dead bodies.
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 10 Apr 2011 21:14:14 +0000 (00:14 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 10 Apr 2011 21:14:14 +0000 (00:14 +0300)
qcsrc/client/gibs.qc

index e4c4f2d337f3abedeed2c2f683296218dc281273..6b1ea0451e67002ca335c8b6702e0d2d75bb3e36 100644 (file)
@@ -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