Fix TC build

This commit is contained in:
Rochet2
2016-10-07 21:39:06 +03:00
parent f0b1b3499b
commit dec6c45d35

View File

@@ -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;
}