[particles] Use read data instead of written data

I'm not sure this makes any difference (at 2500fps, the noise is crazy),
but fewer instructions can't hurt.
This commit is contained in:
Bill Currie 2022-03-09 06:47:43 +09:00
parent a9cc51b22c
commit 1fef0e50e0

View file

@ -106,8 +106,6 @@ R_RunParticles (float dT)
ps->partparams[j] = *parm; ps->partparams[j] = *parm;
ps->partramps[j] = ramp; ps->partramps[j] = ramp;
} }
p = &ps->particles[j];
parm = &ps->partparams[j];
j += 1; j += 1;
p->pos += dT * p->vel; p->pos += dT * p->vel;