From 266d6696eb0659065bd9d605f91dd4e2e72eabe0 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 28 Jul 2004 12:52:20 +0000 Subject: * Most of the changes in the forum thread "Shake up" --- src/cgame/cg_event.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/cgame') diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index ccad75a4..9b60df70 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -851,6 +851,15 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) } break; + case EV_DCC_ATTACK: + DEBUGNAME( "EV_DCC_ATTACK" ); + if( cg.predictedPlayerState.stats[ STAT_PTEAM ] == PTE_HUMANS ) + { + //trap_S_StartLocalSound( cgs.media.humanDCCAttack, CHAN_ANNOUNCER ); + CG_CenterPrint( "Our base is under attack!", 200, GIANTCHAR_WIDTH * 4 ); + } + break; + case EV_OVERMIND_SPAWNS: DEBUGNAME( "EV_OVERMIND_SPAWNS" ); if( cg.predictedPlayerState.stats[ STAT_PTEAM ] == PTE_ALIENS ) -- cgit