fix the HO ProcessSpell call, was causing harvest/spells to call "tick" instead of "cast"

Fix #213
This commit is contained in:
Image 2020-11-06 23:30:31 -05:00
parent 9bcd1eeb47
commit 80eaa59564

View file

@ -1440,7 +1440,7 @@ bool SpellProcess::CastProcessedSpell(LuaSpell* spell, bool passive, bool in_her
}
}*/
if (!processedSpell)
processedSpell = ProcessSpell(spell, in_heroic_opp);
processedSpell = ProcessSpell(spell);
// Quick hack to prevent a crash on spells that zones the caster (Gate)
if (!spell->caster)
@ -2535,4 +2535,4 @@ void SpellProcess::DeleteSpell(LuaSpell* spell)
}
safe_delete(spell);
}
}