[ioquake3] 124/136: Don't copy p->org to itself in cg_particles.c

Simon McVittie smcv at debian.org
Thu Jun 15 09:09:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 74a59f17c7afb6e427df22a25e44327b7b6e0739
Author: Zack Middleton <zack at cloemail.com>
Date:   Wed Jun 7 21:07:34 2017 -0500

    Don't copy p->org to itself in cg_particles.c
---
 code/cgame/cg_particles.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/code/cgame/cg_particles.c b/code/cgame/cg_particles.c
index 53507ad..2c70281 100644
--- a/code/cgame/cg_particles.c
+++ b/code/cgame/cg_particles.c
@@ -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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list