From 419f5d0075c90bb5111dd0af366b941f148066a5 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sun, 23 Feb 2020 17:58:34 +0000 Subject: add knockback to tesla generators --- src/game/g_weapon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit