Core/Misc: Ugh.. Fix recent commit that broke the OnHeal hook 😥

This commit is contained in:
Discover-
2013-10-14 16:56:09 +02:00
parent ce17fb9d5e
commit 82eda3244a

View File

@@ -9581,10 +9581,8 @@ int32 Unit::DealHeal(Unit* victim, uint32 addhealth)
if (addhealth)
gain = victim->ModifyHealth(int32(addhealth));
uint32 unsignedGain = gain;
// Hook for OnHeal Event
sScriptMgr->OnHeal(this, victim, unsignedGain);
sScriptMgr->OnHeal(this, victim, (uint32&)gain);
Unit* unit = this;