summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-06-29 18:00:08 +0000
committerTim Angus <tim@ngus.net>2006-06-29 18:00:08 +0000
commite4d11790a55f620187a6359797128ee6d2c6e930 (patch)
tree0ce6ab516bc7ddc490b063a3efbafb493ab9a032 /src
parent9a3d84421ff10ada947dac98376381bb863db12b (diff)
* Fix cg_noTaunt
Diffstat (limited to 'src')
-rw-r--r--src/cgame/cg_event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index d1e330b9..7050f14d 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -621,7 +621,8 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
case EV_TAUNT:
DEBUGNAME( "EV_TAUNT" );
- trap_S_StartSound( NULL, es->number, CHAN_VOICE, CG_CustomSound( es->number, "*taunt.wav" ) );
+ if( !cg_noTaunt.integer )
+ trap_S_StartSound( NULL, es->number, CHAN_VOICE, CG_CustomSound( es->number, "*taunt.wav" ) );
break;
case EV_WATER_TOUCH: