diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-04-09 21:39:07 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-04-09 21:40:50 +0200 |
commit | 5883844753e4430a1e437d846868acc007794145 (patch) | |
tree | f403f80c3938b0cc8ad3a7d168580e475e44833b /src/game/g_combat.c | |
parent | 57ee720912a9074c5d1b2b9323d9f243d17a1973 (diff) |
Let Dragoons chomp while pouncing. Remove knockback from human weapons where it's unnecessary.
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r-- | src/game/g_combat.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 ) |