From 2df7e01d6be8a7c86e300c404cb71801c00187a7 Mon Sep 17 00:00:00 2001 From: TimeServ Date: Sat, 2 Apr 2005 21:20:52 +0000 Subject: [PATCH] spiral distance per rotation git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@939 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/r_part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/r_part.c b/engine/client/r_part.c index 56f44f8bb..c3428bde6 100644 --- a/engine/client/r_part.c +++ b/engine/client/r_part.c @@ -2164,7 +2164,7 @@ int P_ParticleTrail (vec3_t startpos, vec3_t end, int type, trailstate_t *ts) // precalculate degree of rotation if (ptype->spawnparam1) - tdegree = ptype->spawnparam1*M_PI/180; /* degrees per quake unit */ + tdegree = 2*M_PI/ptype->spawnparam1; /* distance per rotation inversed */ } if (ts)