From 4a1f6eb3b177d50f22df6295d712b85b81a95581 Mon Sep 17 00:00:00 2001 From: ariel- Date: Wed, 12 Oct 2016 22:58:29 -0300 Subject: Core/Scripts: Fix runtime error --- src/server/scripts/Spells/spell_item.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/scripts/Spells') 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) -- cgit v1.2.3