small particle fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@38 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f539115b43
commit
6fe58a6acf
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue