From 96c9a4f521a27af8d7b409e820e4da9a82633276 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 5 Jan 2012 16:34:35 +0200 Subject: [PATCH] Fix a code failure --- qcsrc/client/damage.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index 52fd865bf..b83cd2a5c 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -246,6 +246,7 @@ void DamageEffect_Think() remove(self); return; } + self.nextthink = time + autocvar_cl_damageeffect_ticrate; if(self.owner.entnum == player_localentnum && !autocvar_chase_active) return; // if we aren't using a third person view, hide our own effects @@ -253,7 +254,6 @@ void DamageEffect_Think() vector org; org = gettaginfo(self, 0); // origin at attached location pointparticles(self.team, org, '0 0 0', 1); - self.nextthink = time + autocvar_cl_damageeffect_ticrate; } void DamageEffect(vector hitorg, float dmg, float type, float specnum) -- 2.39.2