summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_event.c4
-rw-r--r--src/cgame/cg_local.h2
-rw-r--r--src/cgame/cg_main.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 8ebb5af..1001f46 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -993,6 +993,10 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
trap_S_StartSound( NULL, es->number, CHAN_AUTO, cgs.media.acidBombBounceSound2 );
break;
+ case EV_ROCKETL_PRIME:
+ trap_S_StartSound( NULL, es->number, CHAN_AUTO, cgs.media.rocketlPrimeSound );
+ break;
+
//
// missile impacts
//
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index dc40f22..b3d6e85 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -1351,6 +1351,8 @@ typedef struct
qhandle_t lightningImpactPS;
sfxHandle_t hitSounds[ 5 ];
+
+ sfxHandle_t rocketlPrimeSound;
} cgMedia_t;
typedef struct
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index f562728..7ac160e 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -765,6 +765,8 @@ static void CG_RegisterSounds( void )
for( i = 0; i < 5; i++ )
cgs.media.hitSounds[ i ] = trap_S_RegisterSound( hit_sounds[ i ], qfalse );
+
+ cgs.media.rocketlPrimeSound = trap_S_RegisterSound( "models/weapons/rocketl/prime.wav", qfalse );
}