AI/PlayerAI: Fix potential edge case crash.

(cherry picked from commit 2d2544fab0)
This commit is contained in:
treeston
2016-06-03 17:57:05 +02:00
committed by joschiwald
parent 781c5a3b82
commit 20ef64c8d8

View File

@@ -772,7 +772,7 @@ PlayerAI::TargetedSpell SimpleCharmedPlayerAI::SelectAppropriateCastForSpec()
VerifyAndPushSpellCast(spells, SPELL_BLIND, TARGET_VICTIM, 2);
VerifyAndPushSpellCast(spells, SPELL_CLOAK_OF_SHADOWS, TARGET_NONE, 2);
uint32 builder, finisher;
uint32 builder = 0, finisher = 0;
switch (GetSpec())
{
case TALENT_SPEC_ROGUE_ASSASSINATION: