Permalink
Browse files

Fix spectator desaturation effect

  • Loading branch information...
DolceTriade committed Dec 23, 2015
1 parent 397af52 commit da60ff57d6c9df62718568507c438ecc88dd4495
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cgame/cg_view.cpp
@@ -1387,7 +1387,7 @@ static void CG_ChooseCgradingEffectAndFade( const playerState_t* ps, qhandle_t*
bool playing = team == TEAM_HUMANS || team == TEAM_ALIENS;

//the player has spawned once and is dead or in the intermission
if ( cg_spawnEffects.integer && ( health <= 0 || (playing && cg.snap->ps.persistant[ PERS_SPECSTATE ] != SPECTATOR_NOT) ) )
if ( cg_spawnEffects.integer && playing && ( health <= 0 || cg.snap->ps.persistant[ PERS_SPECSTATE ] != SPECTATOR_NOT) )
{
*effect = cgs.media.desaturatedCgrade;
*fade = 1.0;

0 comments on commit da60ff5

Please sign in to comment.