diff options
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r-- | src/cgame/cg_event.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c index 1caba1f5..763d8b77 100644 --- a/src/cgame/cg_event.c +++ b/src/cgame/cg_event.c @@ -874,6 +874,13 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) CG_ShotgunFire( es ); break; + case EV_MASS_DRIVER: + DEBUGNAME( "EV_MASS_DRIVER" ); + ByteToDir( es->eventParm, dir ); + CG_MissileHitWall( es->weapon, es->generic1, 0, position, dir, IMPACTSOUND_DEFAULT ); + CG_MassDriverFire( es ); + break; + case EV_GENERAL_SOUND: DEBUGNAME( "EV_GENERAL_SOUND" ); if( cgs.gameSounds[ es->eventParm ] ) |