aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.h
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-11-13 22:15:03 -0300
committerariel- <ariel-@users.noreply.github.com>2016-11-14 02:05:54 -0300
commitaa21137aeb5cc9034dad47ea3fc0e46232d80db0 (patch)
treec44f180cc4a1ddeffd14fd5ac7205d10bde32e0a /src/server/game/Spells/SpellScript.h
parentcbb5c073ceb951fa138bb05b55de8b21ffd83063 (diff)
Core/SpellScript: allow optional parameters to be passed to FinishCast
followup of 50a3ce5703bdaa4fe16e2e773eabafa9a4818083
Diffstat (limited to 'src/server/game/Spells/SpellScript.h')
-rw-r--r--src/server/game/Spells/SpellScript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellScript.h b/src/server/game/Spells/SpellScript.h
index d3c874cda43..af30b6a7879 100644
--- a/src/server/game/Spells/SpellScript.h
+++ b/src/server/game/Spells/SpellScript.h
@@ -441,7 +441,7 @@ class TC_GAME_API SpellScript : public _SpellScript
SpellInfo const* GetTriggeringSpell();
// 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);
};