Script: Fix warning for craping script -.-

This commit is contained in:
Vincent_Michael committed 2013-02-03 01:32:14 +01:00
1 parent 104682767e
commit 1cdfc65959
1 file changed
+1 -1
@@ -422,7 +422,7 @@ public:
Glaive->InterruptNonMeleeSpells(true);
DoCast(me, SPELL_FLAME_ENRAGE, true);
DoResetThreat();
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
if (SelectTarget(SELECT_TARGET_RANDOM, 0))
{
me->AddThreat(me->getVictim(), 5000000.0f);
AttackStart(me->getVictim());