From 5883844753e4430a1e437d846868acc007794145 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 9 Apr 2015 21:39:07 +0200 Subject: Let Dragoons chomp while pouncing. Remove knockback from human weapons where it's unnecessary. --- src/game/g_combat.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game/g_combat.c') diff --git a/src/game/g_combat.c b/src/game/g_combat.c index b0d435b..270459d 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1253,8 +1253,12 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, if( inflictor->s.weapon != WP_NONE ) { + Com_Printf( "^2DEBUG: weapon knockback: %d * %f = ", + knockback, BG_Weapon( inflictor->s.weapon )->knockbackScale ); knockback = (int)( (float)knockback * BG_Weapon( inflictor->s.weapon )->knockbackScale ); + Com_Printf( "%d\n", knockback ); + } if( targ->client ) -- cgit