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:
hondacrx
2021-10-10 16:34:07 -04:00
parent 6c896fdb21
commit bb234fa4bd
2 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -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);