From 6fe58a6acff2816fd90db154e8470a4a36821aa5 Mon Sep 17 00:00:00 2001 From: TimeServ Date: Wed, 25 Aug 2004 00:38:47 +0000 Subject: [PATCH] small particle fix git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@38 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/r_part.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/client/r_part.c b/engine/client/r_part.c index 6409b7477..8c59faed0 100644 --- a/engine/client/r_part.c +++ b/engine/client/r_part.c @@ -1377,9 +1377,9 @@ int R_RunParticleEffectType (vec3_t org, vec3_t dir, float count, int typenum) if (dir) { - p->vel[0] += dir[0]*ptype->veladd+org[0]*ptype->offsetspread; - p->vel[1] += dir[1]*ptype->veladd+org[1]*ptype->offsetspread; - p->vel[2] += dir[2]*ptype->veladd+org[2]*ptype->offsetspread; + p->vel[0] += dir[0]*ptype->veladd+p->org[0]*ptype->offsetspread; + p->vel[1] += dir[1]*ptype->veladd+p->org[1]*ptype->offsetspread; + p->vel[2] += dir[2]*ptype->veladd+p->org[2]*ptype->offsetspreadvert; } else {