summaryrefslogtreecommitdiff
path: root/src/cgame/cg_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r--src/cgame/cg_event.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index 7ea62220..1a28c2a8 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -959,12 +959,7 @@ void CG_EntityEvent( centity_t *cent, vec3_t position )
case EV_TESLATRAIL:
DEBUGNAME("EV_TESLATRAIL");
cent->currentState.weapon = WP_TESLAGEN;
- // if the end was on a nomark surface, don't make an explosion
CG_TeslaTrail( es->origin2, es->pos.trBase );
- if ( es->eventParm != 255 ) {
- ByteToDir( es->eventParm, dir );
- CG_MissileHitWall( es->weapon, es->clientNum, position, dir, IMPACTSOUND_DEFAULT, 0 );
- }
break;
case EV_BULLET_HIT_WALL: