mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
AI/PlayerAI: Fix potential edge case crash.
This commit is contained in:
@@ -893,7 +893,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 SPEC_ROGUE_ASSASSINATION:
|
||||
|
||||
Reference in New Issue
Block a user