From a7700d3da8ac7b6ac436dc2b53540b0ddf1f61e6 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 9 May 2010 21:26:51 +0200 Subject: [PATCH] force fire effect even for nonmoving firemine --- qcsrc/client/projectile.qc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcsrc/client/projectile.qc b/qcsrc/client/projectile.qc index 7072a1b59..6160cb3f0 100644 --- a/qcsrc/client/projectile.qc +++ b/qcsrc/client/projectile.qc @@ -31,6 +31,11 @@ void Projectile_DrawTrail(vector to) self.trail_oldorigin = to; self.trail_oldtime = time; + // force the effect even for stationary firemine + if(self.cnt == PROJECTILE_FIREMINE) + if(from == to) + from_z += 1; + if (self.traileffect) trailparticles(self, self.traileffect, from, to); } -- 2.39.2