Merge remote branch 'origin/mirceakitsune/per_character_sounds'
authorRudolf Polzer <divverent@alientrap.org>
Mon, 10 May 2010 06:46:02 +0000 (08:46 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 10 May 2010 06:46:02 +0000 (08:46 +0200)
qcsrc/client/projectile.qc

index 7072a1b..6160cb3 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);
 }