From dec6c45d35fab9842b751932c01ea61a36a36541 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Fri, 7 Oct 2016 21:39:06 +0300 Subject: [PATCH] Fix TC build --- UnitMethods.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UnitMethods.h b/UnitMethods.h index 8b43b92..a62dcc1 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -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; }