aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2021-10-10 19:00:02 +0200
committerShauren <shauren.trinity@gmail.com>2021-10-10 19:00:02 +0200
commit2965d201ab5580a7c71279701b8523064a159077 (patch)
tree3f092594d74afb266238668e9db7dc3f8316af82 /src/server/game/Spells/SpellScript.cpp
parentd03c7d030c5c34dcd4729152cd54d8c5ac949858 (diff)
Core/Spells: Changed Spell::SendCastResult arguments to signed ints to match packet structure
Diffstat (limited to 'src/server/game/Spells/SpellScript.cpp')
-rw-r--r--src/server/game/Spells/SpellScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellScript.cpp b/src/server/game/Spells/SpellScript.cpp
index cc397652093..73452dca696 100644
--- a/src/server/game/Spells/SpellScript.cpp
+++ b/src/server/game/Spells/SpellScript.cpp
@@ -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);