diff options
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r-- | src/cgame/cg_event.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 ) |