This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.5a in repository iortcw.
commit 56fe34d0db060e405bff8ed877d9261392e25f09 Author: MAN-AT-ARMS <m4n4t4...@gmail.com> Date: Mon Feb 1 19:06:02 2016 -0500 SP: Fix broken spotlights still showing light beams --- SP/code/cgame/cg_effects.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/SP/code/cgame/cg_effects.c b/SP/code/cgame/cg_effects.c index 2534446..6ac6aac 100644 --- a/SP/code/cgame/cg_effects.c +++ b/SP/code/cgame/cg_effects.c @@ -1340,7 +1340,6 @@ void CG_Spotlight( centity_t *cent, float *color, vec3_t realstart, vec3_t light vec4_t colorNorm; // normalized color vector refEntity_t ent; vec3_t angles; -// float deadFrac = 0; VectorCopy( realstart, start ); @@ -1453,16 +1452,8 @@ void CG_Spotlight( centity_t *cent, float *color, vec3_t realstart, vec3_t light if ( cent->currentState.frame == 1 ) { // dead -#if 0 - deadFrac = (float)( cg.time - cent->currentState.time2 ) / 5000.0f; - - // no fade out, just off -// if(deadFrac > 1) - return; - - startAlpha *= ( 1.0f - deadFrac ); - endAlpha *= ( 1.0f - deadFrac ); -#endif + startAlpha = 0.0; + endAlpha = 0.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