Core/Spells: Changed Spell::SendCastResult arguments to signed ints to match packet structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/2965d201ab5580a7c71279701b8523064a159077)
This commit is contained in:
@@ -827,7 +827,7 @@ namespace Game.Scripting
|
||||
public SpellInfo GetTriggeringSpell() { return m_spell.m_triggeredByAuraSpell; }
|
||||
|
||||
// finishes spellcast prematurely with selected error message
|
||||
public void FinishCast(SpellCastResult result, uint? param1 = null, uint? param2 = null)
|
||||
public void FinishCast(SpellCastResult result, int? param1 = null, int? param2 = null)
|
||||
{
|
||||
m_spell.SendCastResult(result, param1, param2);
|
||||
m_spell.Finish(result == SpellCastResult.SpellCastOk);
|
||||
|
||||
Reference in New Issue
Block a user