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