Incorrect AI aggression as a consequence of the LineOfSight change, episode three, revenge of the special AIs. Also, hopefully the last. No original trilogy please.

This commit is contained in:
treeston committed 2016-02-20 03:13:11 +01:00
1 parent e4dfbb60fd
commit ab194d5ae3
3 files changed
+5 -2

No files matched your search

@@ -466,6 +466,9 @@ bool SmartAI::CanAIAttack(const Unit* /*who*/) const
bool SmartAI::AssistPlayerInCombat(Unit* who)
{
if (me->HasReactState(REACT_PASSIVE))
return;
if (!who || !who->GetVictim())
return false;