diff options
author | Tim Angus <tim@ngus.net> | 2004-07-28 12:52:20 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2004-07-28 12:52:20 +0000 |
commit | 266d6696eb0659065bd9d605f91dd4e2e72eabe0 (patch) | |
tree | 7787ec7462c762726a18da20f6102d6fc5454d2f /src/cgame | |
parent | 8ff374ee05dc117e2f9d195969a0b7444954025f (diff) |
* Most of the changes in the forum thread "Shake up"
Diffstat (limited to 'src/cgame')
-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 ) |