summaryrefslogtreecommitdiff
path: root/src/cgame/cg_playerstate.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2012-07-12 21:35:39 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:17 +0000
commit22f97fece2bce63f57e0b8fca275281429705c9c (patch)
treea989d666e918998aefcc7678d5d3784399dd756d /src/cgame/cg_playerstate.c
parent8d448680f5b3bcd2a67a3684308bb948e4d3ddad (diff)
* Fix a bunch of variable set but not used warnings
Diffstat (limited to 'src/cgame/cg_playerstate.c')
-rw-r--r--src/cgame/cg_playerstate.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cgame/cg_playerstate.c b/src/cgame/cg_playerstate.c
index 8a8e739c..9d31b4ab 100644
--- a/src/cgame/cg_playerstate.c
+++ b/src/cgame/cg_playerstate.c
@@ -245,8 +245,6 @@ CG_CheckLocalSounds
*/
void CG_CheckLocalSounds( playerState_t *ps, playerState_t *ops )
{
- int reward;
-
// don't play the sounds if the player just spawned
if( ps->persistant[ PERS_SPECSTATE ] != ops->persistant[ PERS_SPECSTATE ] )
return;
@@ -257,14 +255,6 @@ void CG_CheckLocalSounds( playerState_t *ps, playerState_t *ops )
if( ps->stats[ STAT_HEALTH ] > 0 )
CG_PainEvent( &cg.predictedPlayerEntity, ps->stats[ STAT_HEALTH ] );
}
-
-
- // if we are going into the intermission, don't start any voices
- if( cg.intermissionStarted )
- return;
-
- // reward sounds
- reward = qfalse;
}