Core/SmatAI: correct MoveInLineOfSight

mistake introduced in 15f2706aca that was masqueraded by other checks in combat start, till recent related commits

(cherry picked from commit d117a0e4d4)
This commit is contained in:
ccrs
2017-08-12 17:57:13 +02:00
committed by Shauren
parent 0a133e77d6
commit e10018029d

View File

@@ -488,7 +488,7 @@ void SmartAI::MoveInLineOfSight(Unit* who)
if (!IsAIControlled())
return;
if (AssistPlayerInCombatAgainst(who))
if (HasEscortState(SMART_ESCORT_ESCORTING) && AssistPlayerInCombatAgainst(who))
return;
CreatureAI::MoveInLineOfSight(who);