mirror of
https://github.com/azerothcore/mod-ale
synced 2025-12-01 21:15:19 +08:00
Fix TC build
This commit is contained in:
@@ -2619,7 +2619,10 @@ namespace LuaUnit
|
|||||||
unit->DealHeal(target, amount, info, critical);
|
unit->DealHeal(target, amount, info, critical);
|
||||||
#else
|
#else
|
||||||
if (const SpellInfo* info = sSpellMgr->GetSpellInfo(spell))
|
if (const SpellInfo* info = sSpellMgr->GetSpellInfo(spell))
|
||||||
unit->HealBySpell(target, info, amount, critical);
|
{
|
||||||
|
HealInfo healInfo(unit, target, amount, info, info->GetSchoolMask());
|
||||||
|
unit->HealBySpell(healInfo, critical);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user