mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 23:38:54 -04:00
Core/Spells: Changed Spell::SendCastResult arguments to signed ints to match packet structure
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user