summaryrefslogtreecommitdiff
path: root/src/cgame/cg_playerstate.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-09-30 03:12:47 +0000
committerTim Angus <tim@ngus.net>2003-09-30 03:12:47 +0000
commitc760ccba1b81e343726f00cf405ae44c58488969 (patch)
treec36fd71e5f4f87807dfbdec891de2c6e3e0ad7a1 /src/cgame/cg_playerstate.c
parent7bebc75da4232a1e002102ac59b41868e39ce541 (diff)
* Human and alien buildable destructions are now particle system powered
* Acid tube effect is now particle system powered * Disabled hitSound * Sound other random tidyups
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 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 )
{