summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-02-23 17:58:34 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-02-23 17:58:34 +0000
commit419f5d0075c90bb5111dd0af366b941f148066a5 (patch)
tree9a45c26e1eb6e2c4e0fc3ccefb38c6eba89d3513 /src
parent939542a6286c4c5983e4e4ea3639a79e2f584481 (diff)
add knockback to tesla generators
Diffstat (limited to 'src')
-rw-r--r--src/game/g_weapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index ddad4af..a74a4bf 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -719,7 +719,7 @@ void teslaFire( gentity_t *ent )
if( traceEnt->takedamage )
{
G_Damage( traceEnt, ent, ent, forward, tr.endpos,
- TESLAGEN_DMG, 0, MOD_TESLAGEN );
+ TESLAGEN_DMG, DAMAGE_KNOCKBACK, MOD_TESLAGEN );
}
// snap the endpos to integers to save net bandwidth, but nudged towards the line