From: Rudolf Polzer Date: Mon, 16 Jan 2012 20:12:26 +0000 (+0100) Subject: prepare for future removal of spectatee_status X-Git-Tag: xonotic-v0.6.0~110^2^2~2^2 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=5a1a50b2224a3bae1b4c5eff5e14a6038a5d0930;p=xonotic%2Fxonotic-data.pk3dir.git prepare for future removal of spectatee_status --- diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index 788ef3b8a..138d68a32 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -22,7 +22,11 @@ void DamageEffect_Think() return; } self.state = self.owner.csqcmodel_isdead; +#ifdef COMPAT_XON050_ENGINE if(self.owner.isplayermodel && (self.owner.entnum == player_localentnum || self.owner.entnum == spectatee_status) && !autocvar_chase_active) +#else + if(self.owner.isplayermodel && (self.owner.entnum == player_localentnum) && !autocvar_chase_active) +#endif return; // if we aren't using a third person camera, hide our own effects // now generate the particles