From 43260b7ebb899e2ee34f6382b3a697b43629a153 Mon Sep 17 00:00:00 2001 From: ariel- Date: Sun, 13 Nov 2016 22:15:03 -0300 Subject: Core/SpellScript: allow optional parameters to be passed to FinishCast followup of 50a3ce5703bdaa4fe16e2e773eabafa9a4818083 (cherry picked from commit aa21137aeb5cc9034dad47ea3fc0e46232d80db0) --- src/server/game/Spells/SpellScript.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/game/Spells/SpellScript.h') diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h index e959abf2ecb..e08db68cc22 100644 --- a/src/server/game/Spells/SpellScript.h +++ b/src/server/game/Spells/SpellScript.h @@ -479,7 +479,7 @@ class TC_GAME_API SpellScript : public _SpellScript SpellInfo const* GetTriggeringSpell() const; // finishes spellcast prematurely with selected error message - void FinishCast(SpellCastResult result); + void FinishCast(SpellCastResult result, uint32* param1 = nullptr, uint32* param2 = nullptr); void SetCustomCastResultMessage(SpellCustomErrors result); }; -- cgit v1.2.3