summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 3bf257bc..60c74787 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -735,7 +735,7 @@ void teslaFire( gentity_t *self )
trace_t tr;
vec3_t origin, target;
gentity_t *tent;
-
+
if( !self->enemy )
return;
@@ -758,7 +758,7 @@ void teslaFire( gentity_t *self )
if( self->enemy->takedamage )
{
vec3_t dir;
-
+
VectorSubtract( target, origin, dir );
G_Damage( self->enemy, self, self, dir, tr.endpos,
TESLAGEN_DMG, 0, MOD_TESLAGEN );