Closed TheBv closed 2 years ago
Event_PlayerDamage was basically just accessing the wrong index of the m_uiLastHealOnHit array. Also reset the number to make sure it won't log (healing "x") over and over again. One example of this happening: logs.tf/3056638 but there's many more
Event_PlayerDamage
m_uiLastHealOnHit
(healing "x")
Maybe store the index in a variable, so we don't have to compute it twice?
int iAttackerIndex = IndexOfEdict(pEdictAttacker)-1;
Event_PlayerDamage
was basically just accessing the wrong index of them_uiLastHealOnHit
array. Also reset the number to make sure it won't log(healing "x")
over and over again. One example of this happening: logs.tf/3056638 but there's many more