summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-11-20 03:55:39 +0000
committerTim Angus <tim@ngus.net>2005-11-20 03:55:39 +0000
commite80ad4bf122eb05a5ed0c920e36cf656f98dc6e5 (patch)
treebdc1dcb2b08ed77abc72880e81989157c6003555 /src/game/g_weapon.c
parentd6312bd43317816c281150e3baf7e8204a9452d8 (diff)
* Abstract attachment system
* Scriptable trails system * Various other stuff I'm too tired to try and remember now
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 94a1aabe..a28da78b 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -631,12 +631,6 @@ void teslaFire( gentity_t *ent )
// move origin a bit to come closer to the drawn gun muzzle
VectorMA( tent->s.origin2, 28, up, tent->s.origin2 );
-
- // no explosion at end if SURF_NOIMPACT, but still make the trail
- if( tr.surfaceFlags & SURF_NOIMPACT )
- tent->s.eventParm = 255; // don't make the explosion at the end
- else
- tent->s.eventParm = DirToByte( tr.plane.normal );
}