Fix faulty direct damage check

This commit is contained in:
Jackz 2023-12-20 18:10:01 -06:00
parent f715687724
commit ffe5ce3e94
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -340,7 +340,7 @@ Action Event_OnTakeDamage(int victim, int& attacker, int& inflictor, float& dam
else if(pData[victim].underAttack) return Plugin_Continue; else if(pData[victim].underAttack) return Plugin_Continue;
// Is damage not caused by fire or pipebombs? // Is damage not caused by fire or pipebombs?
bool isDamageDirect = (damagetype & DMG_BURN) == 0; bool isDamageDirect = true; //(damagetype & DMG_BURN) == 0;
// Forgive player teamkill based on threshold, resetting accumlated damage // Forgive player teamkill based on threshold, resetting accumlated damage
if(time - pData[attacker].lastFFTime > hForgivenessTime.IntValue) { if(time - pData[attacker].lastFFTime > hForgivenessTime.IntValue) {