Core/Spells: Changed Spell::SendCastResult arguments to signed ints to match packet structure

This commit is contained in:
Shauren
2021-10-10 19:00:02 +02:00
parent d03c7d030c
commit 2965d201ab
4 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -753,7 +753,7 @@ SpellInfo const* SpellScript::GetTriggeringSpell() const
return m_spell->m_triggeredByAuraSpell;
}
void SpellScript::FinishCast(SpellCastResult result, uint32* param1 /*= nullptr*/, uint32* param2 /*= nullptr*/)
void SpellScript::FinishCast(SpellCastResult result, int32* param1 /*= nullptr*/, int32* param2 /*= nullptr*/)
{
m_spell->SendCastResult(result, param1, param2);
m_spell->finish(result == SPELL_CAST_OK);