[iortcw] 30/152: SP: Completely kill off light effects from broken spotlights
    Simon McVittie 
    smcv at debian.org
       
    Fri Sep  8 10:39:53 UTC 2017
    
    
  
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 1ae4e33e4403615a2c64314f87b10c02e6a3a5ec
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Tue Feb 2 01:53:37 2016 -0500
    SP: Completely kill off light effects from broken spotlights
---
 SP/code/cgame/cg_effects.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/SP/code/cgame/cg_effects.c b/SP/code/cgame/cg_effects.c
index 6ac6aac..efdcee1 100644
--- a/SP/code/cgame/cg_effects.c
+++ b/SP/code/cgame/cg_effects.c
@@ -1452,8 +1452,7 @@ void CG_Spotlight( centity_t *cent, float *color, vec3_t realstart, vec3_t light
 
 
 	if ( cent->currentState.frame == 1 ) {    // dead
-		startAlpha = 0.0;
-		endAlpha = 0.0;
+		return;
 	}
 
 
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
    
    
More information about the Pkg-games-commits
mailing list