diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-03-29 14:45:05 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-03-29 14:45:05 +0100 |
commit | 4d46255e2317a9febdf36368496fa958056883e2 (patch) | |
tree | fba0c60b70c5616e7055ac142cdd7d22687fdc90 /src/cgame/cg_playerstate.c | |
parent | 0092faa58e55ee8fd29e2887573bffbb8c5d7faa (diff) |
Fix compiler warnings
Mostly a metric ton of unused variables
Diffstat (limited to 'src/cgame/cg_playerstate.c')
-rw-r--r-- | src/cgame/cg_playerstate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cgame/cg_playerstate.c b/src/cgame/cg_playerstate.c index e1bcb09..7749f59 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 changed teams if( ps->persistant[ PERS_TEAM ] != ops->persistant[ PERS_TEAM ] ) return; @@ -262,9 +260,6 @@ void CG_CheckLocalSounds( playerState_t *ps, playerState_t *ops ) // if we are going into the intermission, don't start any voices if( cg.intermissionStarted ) return; - - // reward sounds - reward = qfalse; } |