From c760ccba1b81e343726f00cf405ae44c58488969 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 30 Sep 2003 03:12:47 +0000 Subject: * Human and alien buildable destructions are now particle system powered * Acid tube effect is now particle system powered * Disabled hitSound * Sound other random tidyups --- src/cgame/cg_playerstate.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/cgame/cg_playerstate.c') diff --git a/src/cgame/cg_playerstate.c b/src/cgame/cg_playerstate.c index d43f41a8..68a0a2f1 100644 --- a/src/cgame/cg_playerstate.c +++ b/src/cgame/cg_playerstate.c @@ -241,16 +241,6 @@ void CG_CheckLocalSounds( playerState_t *ps, playerState_t *ops ) if( ps->persistant[ PERS_TEAM ] != ops->persistant[ PERS_TEAM ] ) return; - // hit changes - if( ps->persistant[ PERS_HITS ] > ops->persistant[ PERS_HITS ] ) - { - /*armor = ps->persistant[PERS_ATTACKEE_ARMOR] & 0xff; - health = ps->persistant[PERS_ATTACKEE_ARMOR] >> 8;*/ - trap_S_StartLocalSound( cgs.media.hitSound, CHAN_LOCAL_SOUND ); - } - else if( ps->persistant[ PERS_HITS ] < ops->persistant[ PERS_HITS ] ) - trap_S_StartLocalSound( cgs.media.hitTeamSound, CHAN_LOCAL_SOUND ); - // health changes of more than -1 should make pain sounds if( ps->stats[ STAT_HEALTH ] < ops->stats[ STAT_HEALTH ] - 1 ) { -- cgit