Skip to content

Commit 41dc4dc

Browse files
committed
Reveal more positions
1 parent f7c97e7 commit 41dc4dc

File tree

1 file changed

+3
-1
lines changed
  • addons/COE2/scripts/Game/COE/Entities

1 file changed

+3
-1
lines changed

addons/COE2/scripts/Game/COE/Entities/COE_AO.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ class COE_AO : KSC_AO
475475

476476
KSC_AITasks.Defend(group, posToDefend, 15);
477477
AddGroup(group);
478+
m_aEnemyPositionsToReveal.Insert(posToDefend);
478479
}
479480

480481
entries.Clear();
@@ -487,8 +488,9 @@ class COE_AO : KSC_AO
487488
if (!group)
488489
break;
489490

490-
KSC_AITasks.Defend(group, m_Area);
491+
vector pos = KSC_AITasks.Defend(group, m_Area);
491492
AddGroup(group);
493+
m_aEnemyPositionsToReveal.Insert(pos);
492494

493495
array<AIWaypoint> waypoints = {};
494496
group.GetWaypoints(waypoints);

0 commit comments

Comments
 (0)