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

smcv pushed a commit to tag 1.51b
in repository iortcw.

commit c91afd1855906172374123b2fb2edef8af1447c7
Author: MAN-AT-ARMS <m4n4t4...@gmail.com>
Date:   Tue Jun 13 16:08:48 2017 -0400

    All: Don't copy p->org to itself in cg_particles.c
---
 MP/code/cgame/cg_particles.c | 4 ----
 SP/code/cgame/cg_particles.c | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/MP/code/cgame/cg_particles.c b/MP/code/cgame/cg_particles.c
index e82fec1..e89cc28 100644
--- a/MP/code/cgame/cg_particles.c
+++ b/MP/code/cgame/cg_particles.c
@@ -1038,10 +1038,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;
diff --git a/SP/code/cgame/cg_particles.c b/SP/code/cgame/cg_particles.c
index 86cc3a2..fe28eb1 100644
--- a/SP/code/cgame/cg_particles.c
+++ b/SP/code/cgame/cg_particles.c
@@ -1095,10 +1095,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/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to