summaryrefslogtreecommitdiff
path: root/src/cgame/cg_event.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-07-29 18:43:15 +0000
committerTim Angus <tim@ngus.net>2002-07-29 18:43:15 +0000
commitc92d5d545127ef86c85607b6edb361c42bb9db68 (patch)
treeb27284244a8a5d3f0b6f51b008a51ea141d58948 /src/cgame/cg_event.c
parente633284d8b8f2fd4cbc246d45f217913bdd19dd8 (diff)
* Scoreboard
* Level 1 class blob fire * Loading screen * "SPECTATOR" display uses TA UI * Buildable weapon delays * Display of build points on huds
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r--src/cgame/cg_event.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 8ae10e0c..c6e0417a 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -671,7 +671,7 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
case EV_STEPDN_4:
case EV_STEPDN_8:
case EV_STEPDN_12:
- case EV_STEPDN_16: // smooth out step up transitions
+ case EV_STEPDN_16: // smooth out step down transitions
DEBUGNAME("EV_STEP");
{
float oldStep;
@@ -1124,6 +1124,13 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
CG_Menu( es->eventParm );
break;
+ case EV_BUILD_DELAY:
+ DEBUGNAME("EV_BUILD_DELAY");
+ //FIXME: change to "negative" sound
+ trap_S_StartLocalSound( cgs.media.hitSound, CHAN_LOCAL_SOUND );
+ cg.lastBuildAttempt = cg.time;
+ break;
+
case EV_PLAYER_RESPAWN:
DEBUGNAME("EV_PLAYER_RESPAWN");
if( es->number == cg.clientNum )