From: Rudolf Polzer Date: Sun, 9 May 2010 19:26:51 +0000 (+0200) Subject: force fire effect even for nonmoving firemine X-Git-Tag: xonotic-v0.1.0preview~638^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7700d3da8ac7b6ac436dc2b53540b0ddf1f61e6;p=xonotic%2Fxonotic-data.pk3dir.git force fire effect even for nonmoving firemine --- 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); }