From 4853fa6641388e0cec7af28500782f181f3f8eef Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Sun, 6 Dec 2009 20:29:10 +0100 Subject: [PATCH] Fix a crash in boss_zuramatAI. Closes #460 --HG-- branch : trunk --- .../scripts/scripts/northrend/violet_hold/boss_zuramat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bindings/scripts/scripts/northrend/violet_hold/boss_zuramat.cpp b/src/bindings/scripts/scripts/northrend/violet_hold/boss_zuramat.cpp index 4dee02ea11..19b4f191d9 100644 --- a/src/bindings/scripts/scripts/northrend/violet_hold/boss_zuramat.cpp +++ b/src/bindings/scripts/scripts/northrend/violet_hold/boss_zuramat.cpp @@ -101,6 +101,7 @@ struct TRINITY_DLL_DECL boss_zuramatAI : public ScriptedAI if(SpellVoidShiftedTimer < diff && shiftcast) { + Shifted = SelectUnit(SELECT_TARGET_RANDOM, 0); if (Shifted) DoCast(Shifted, SPELL_VOID_SHIFTED, false); shiftcast = false;