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:
1 parent
0e6377c90e
commit
622736286f
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user