]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
force fire effect even for nonmoving firemine
authorRudolf Polzer <divverent@alientrap.org>
Sun, 9 May 2010 19:26:51 +0000 (21:26 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 9 May 2010 19:26:51 +0000 (21:26 +0200)
qcsrc/client/projectile.qc

index 7072a1b59af8705fbe4dddeba768bd6c29c2958f..6160cb3f0219713d80c3df0aee6556b0894f596e 100644 (file)
@@ -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);
 }