Update Waypoint System and Commands

Update Waypoint System and Commands
This commit is contained in:
Charles A Edwards 2016-08-30 11:15:20 +01:00 committed by Antz
parent 870b4dd0a4
commit 6ac38a0d65
48 changed files with 455 additions and 323 deletions

View file

@ -9568,7 +9568,7 @@ bool Unit::SelectHostileTarget()
// check if currently selected target is reachable
// NOTE: path alrteady generated from AttackStart()
if (!GetMotionMaster()->operator->()->IsReachable())
if (!GetMotionMaster()->GetCurrent()->IsReachable())
{
// remove all taunts
RemoveSpellsCausingAura(SPELL_AURA_MOD_TAUNT);