Don't copy p->org to itself in cg_particles.c

This commit is contained in:
Zack Middleton 2017-06-07 21:07:34 -05:00
parent 8a6c9d1038
commit 74a59f17c7

View file

@ -1027,10 +1027,6 @@ void CG_ParticleSnowFlurry (qhandle_t pshader, centity_t *cent)
VectorCopy(cent->currentState.origin, p->org); VectorCopy(cent->currentState.origin, p->org);
p->org[0] = p->org[0];
p->org[1] = p->org[1];
p->org[2] = p->org[2];
p->vel[0] = p->vel[1] = 0; p->vel[0] = p->vel[1] = 0;
p->accel[0] = p->accel[1] = p->accel[2] = 0; p->accel[0] = p->accel[1] = p->accel[2] = 0;