Core/Scripts: Fix runtime error

This commit is contained in:
ariel- authored and Aokromes committed 2016-10-24 13:03:47 +02:00
1 parent 4f0ac16cfe
commit a16983b5bd
1 file changed
+2
+2
View File
@@ -1071,6 +1071,8 @@ class spell_item_shadows_fate : public SpellScriptLoader
void HandleProc(ProcEventInfo& procInfo)
{
PreventDefaultAction();
Unit* caster = procInfo.GetActor();
Unit* target = GetCaster();
if (!caster || !target)