From a6c0bf00999a624f1e13f474f9ec1f935661916c Mon Sep 17 00:00:00 2001 From: ariel- Date: Wed, 12 Oct 2016 22:58:29 -0300 Subject: Core/Scripts: Fix runtime error (cherry picked from commit 4a1f6eb3b177d50f22df6295d712b85b81a95581) --- src/server/scripts/Spells/spell_item.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 0b9e79f046e..d212683754b 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -1881,6 +1881,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