diff options
author | Tim Angus <tim@ngus.net> | 2003-10-16 18:08:37 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-10-16 18:08:37 +0000 |
commit | c2f6695b62a3d2264b073c8bd59759237cf56af4 (patch) | |
tree | 183425da3c542f9ddcdb40752ad612c80e2c1122 /src/cgame | |
parent | 62b02963091831dbd7fb21800e36841680d63e98 (diff) |
* Added EV_FALLING to trigger the *falling1.wav sound
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_event.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 4a5dcef6..83d95424 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -460,6 +460,11 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) } break; + case EV_FALLING: + DEBUGNAME( "EV_FALLING" ); + trap_S_StartSound( NULL, es->number, CHAN_AUTO, CG_CustomSound( es->number, "*falling1.wav" ) ); + break; + case EV_STEP_4: case EV_STEP_8: case EV_STEP_12: |