diff options
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 ) |