From: Mircea Kitsune Date: Thu, 5 Jan 2012 16:34:44 +0000 (+0200) Subject: Hide damage effects on spectated players too, if we aren't using chase_active X-Git-Tag: xonotic-v0.6.0~110^2^2~43 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9df36326645398b4baafc0b9e713106bde71ffa3;p=xonotic%2Fxonotic-data.pk3dir.git Hide damage effects on spectated players too, if we aren't using chase_active --- diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index 2ae5676d1..12d1fcc7f 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -254,7 +254,7 @@ void DamageEffect_Think() remove(self); return; } - if(self.owner.entnum == player_localentnum && !autocvar_chase_active) + if((self.owner.entnum == player_localentnum || self.owner.entnum == spectatee_status) && !autocvar_chase_active) return; // if we aren't using a third person camera, hide our own effects // now generate the particles