NSGameRules: add some debug info for damage applications
This commit is contained in:
parent
0bf0fd42d1
commit
8761b73e4a
1 changed files with 5 additions and 0 deletions
|
@ -340,6 +340,11 @@ NSGameRules::DamageApply(entity t, entity c, float dmg, int w, damageType_t type
|
|||
g_dmg_iFlags = type;
|
||||
g_dmg_iWeapon = w;
|
||||
|
||||
NSLog("Damage: %s damages %s with %i damage", c.classname, t.classname, dmg);
|
||||
NSLog("\tHit-body: %i", g_dmg_iHitBody);
|
||||
NSLog("\tFlags: %i", g_dmg_iFlags);
|
||||
NSLog("\tWeapon: %i", g_dmg_iWeapon);
|
||||
|
||||
if (dmg > 0 || flArmor > 0) {
|
||||
vector dmg_origin;
|
||||
|
||||
|
|
Loading…
Reference in a new issue