fix the HO ProcessSpell call, was causing harvest/spells to call "tick" instead of "cast"
Fix #213
This commit is contained in:
parent
9bcd1eeb47
commit
80eaa59564
1 changed files with 2 additions and 2 deletions
|
@ -1440,7 +1440,7 @@ bool SpellProcess::CastProcessedSpell(LuaSpell* spell, bool passive, bool in_her
|
||||||
}
|
}
|
||||||
}*/
|
}*/
|
||||||
if (!processedSpell)
|
if (!processedSpell)
|
||||||
processedSpell = ProcessSpell(spell, in_heroic_opp);
|
processedSpell = ProcessSpell(spell);
|
||||||
|
|
||||||
// Quick hack to prevent a crash on spells that zones the caster (Gate)
|
// Quick hack to prevent a crash on spells that zones the caster (Gate)
|
||||||
if (!spell->caster)
|
if (!spell->caster)
|
||||||
|
@ -2535,4 +2535,4 @@ void SpellProcess::DeleteSpell(LuaSpell* spell)
|
||||||
}
|
}
|
||||||
|
|
||||||
safe_delete(spell);
|
safe_delete(spell);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue