projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6afc533
)
force fire effect even for nonmoving firemine
author
Rudolf Polzer <divverent@alientrap.org>
Sun, 9 May 2010 19:26:51 +0000
(21:26 +0200)
committer
Rudolf Polzer <divverent@alientrap.org>
Sun, 9 May 2010 19:26:51 +0000
(21:26 +0200)
qcsrc/client/projectile.qc
patch
|
blob
|
history
diff --git
a/qcsrc/client/projectile.qc
b/qcsrc/client/projectile.qc
index 7072a1b59af8705fbe4dddeba768bd6c29c2958f..6160cb3f0219713d80c3df0aee6556b0894f596e 100644
(file)
--- 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);
}