summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-07-28 12:52:20 +0000
committerTim Angus <tim@ngus.net>2004-07-28 12:52:20 +0000
commit266d6696eb0659065bd9d605f91dd4e2e72eabe0 (patch)
tree7787ec7462c762726a18da20f6102d6fc5454d2f /src/cgame
parent8ff374ee05dc117e2f9d195969a0b7444954025f (diff)
* Most of the changes in the forum thread "Shake up"
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_event.c9
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 )