diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-10-12 22:58:29 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2016-10-12 22:58:29 -0300 |
commit | 4a1f6eb3b177d50f22df6295d712b85b81a95581 (patch) | |
tree | d9f799e66b1c7f4736a24b0b881dd1e379aa792a /src | |
parent | d911983f27d6a9ffa4ab743058de79c8aebf9fe2 (diff) |
Core/Scripts: Fix runtime error
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 2 |
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) |