diff options
author | Tim Angus <tim@ngus.net> | 2003-10-03 12:05:04 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-10-03 12:05:04 +0000 |
commit | 4ee9c29e78a84f6f3e80813b124aa045617633e6 (patch) | |
tree | 115861e6b0276807726633bf610748fca766eafa /src/cgame/cg_event.c | |
parent | 15916bb611ac8be90f1719ca84144149bbc97ca1 (diff) |
* Added disableIn3rdPerson to weapon.cfg to handle alien weapons more elegantly
* Muzzle effects are attached to tag_weapon where tag_flash is not available
* Handle particle effects properly with cg_drawGun 1
* Fixed some serious bugs in particle system that culled particle systems early
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r-- | src/cgame/cg_event.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index bf77d489..abf9e821 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -673,6 +673,16 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) CG_AlienBuildableExplosion( position, dir ); break; + case EV_HUMAN_BUILDABLE_DAMAGE: + DEBUGNAME( "EV_HUMAN_BUILDABLE_DAMAGE" ); + trap_S_StartSound( NULL, es->number, CHAN_BODY, cgs.media.humanBuildableDamage ); + break; + + case EV_ALIEN_BUILDABLE_DAMAGE: + DEBUGNAME( "EV_ALIEN_BUILDABLE_DAMAGE" ); + trap_S_StartSound( NULL, es->number, CHAN_BODY, cgs.media.alienBuildableDamage ); + break; + case EV_TESLATRAIL: DEBUGNAME( "EV_TESLATRAIL" ); cent->currentState.weapon = WP_TESLAGEN; |