Fixed account module giving money to zombies hurting themself with self-inflicted damage.

This commit is contained in:
Greyscale
2010-01-11 17:43:06 -08:00
parent d8e3a6e62f
commit c11d1af486
2 changed files with 14 additions and 2 deletions

View File

@ -239,7 +239,7 @@ public Action:EventPlayerHurt(Handle:event, const String:name[], bool:dontBroadc
// Forward event to modules.
ClassAlphaUpdate(index);
InfectOnClientHurt(index, attacker, weapon);
AccountOnClientHurt(attacker, dmg_health);
AccountOnClientHurt(index, attacker, dmg_health);
SEffectsOnClientHurt(index);
KnockbackOnClientHurt(index, attacker, weapon, hitgroup, dmg_health);
NapalmOnClientHurt(index, attacker, weapon);