From 5a1a50b2224a3bae1b4c5eff5e14a6038a5d0930 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 16 Jan 2012 21:12:26 +0100 Subject: [PATCH] prepare for future removal of spectatee_status --- qcsrc/client/damage.qc | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2