Skip to content

Commit

Permalink
Don't copy p->org to itself in cg_particles.c
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Jun 8, 2017
1 parent 8a6c9d1 commit 74a59f1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions code/cgame/cg_particles.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,10 +1027,6 @@ void CG_ParticleSnowFlurry (qhandle_t pshader, centity_t *cent)

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->accel[0] = p->accel[1] = p->accel[2] = 0;
Expand Down

0 comments on commit 74a59f1

Please sign in to comment.