From 80de4f4d3406bf9af27dcd297f6bedb776b1fa18 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 13 Aug 2003 03:21:41 +0000 Subject: * Sound is now played upon recharging weapons from the reactor/repeater --- src/cgame/cg_event.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cgame/cg_event.c') diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 10e1dcd1..93dcca1d 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -609,6 +609,11 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) cent->buildableAnim = es->eventParm; break; + case EV_RPTUSE_SOUND: + DEBUGNAME( "EV_RPTUSE_SOUND" ); + trap_S_StartSound( NULL, es->number, CHAN_AUTO, cgs.media.repeaterUseSound ); + break; + case EV_GRENADE_BOUNCE: DEBUGNAME( "EV_GRENADE_BOUNCE" ); if( rand( ) & 1 ) -- cgit