Core/SmatAI: correct MoveInLineOfSight

mistake introduced in 15f2706aca that was masqueraded by other checks in combat start, till recent related commits
This commit is contained in:
ccrs authored and Aokromes committed 2017-08-13 03:47:01 +02:00
1 parent 0e6377c90e
commit 622736286f
1 file changed
+1 -1
+1 -1
View File
@@ -524,7 +524,7 @@ void SmartAI::MoveInLineOfSight(Unit* who)
if (!IsAIControlled())
return;
if (AssistPlayerInCombatAgainst(who))
if (HasEscortState(SMART_ESCORT_ESCORTING) && AssistPlayerInCombatAgainst(who))
return;
CreatureAI::MoveInLineOfSight(who);