aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-10-12 22:58:29 -0300
committerariel- <ariel-@users.noreply.github.com>2016-10-12 22:58:29 -0300
commit4a1f6eb3b177d50f22df6295d712b85b81a95581 (patch)
treed9f799e66b1c7f4736a24b0b881dd1e379aa792a /src
parentd911983f27d6a9ffa4ab743058de79c8aebf9fe2 (diff)
Core/Scripts: Fix runtime error
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_item.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp
index f51b9e8e965..c214874b688 100644
--- a/src/server/scripts/Spells/spell_item.cpp
+++ b/src/server/scripts/Spells/spell_item.cpp
@@ -1961,6 +1961,8 @@ class spell_item_shadows_fate : public SpellScriptLoader
void HandleProc(ProcEventInfo& procInfo)
{
+ PreventDefaultAction();
+
Unit* caster = procInfo.GetActor();
Unit* target = GetCaster();
if (!caster || !target)