diff options
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r-- | src/cgame/cg_event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 3157b660..6edcf942 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -710,7 +710,8 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) case EV_HUMAN_BUILDABLE_DAMAGE: DEBUGNAME( "EV_HUMAN_BUILDABLE_DAMAGE" ); - trap_S_StartSound( NULL, es->number, CHAN_BODY, cgs.media.humanBuildableDamage ); + i = rand( ) % 4; + trap_S_StartSound( NULL, es->number, CHAN_BODY, cgs.media.humanBuildableDamage[ i ] ); break; case EV_ALIEN_BUILDABLE_DAMAGE: |