mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix TC build
This commit is contained in:
@@ -2619,7 +2619,10 @@ namespace LuaUnit
|
||||
unit->DealHeal(target, amount, info, critical);
|
||||
#else
|
||||
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
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user