Fixes with waypoints in NTTR 2.1.1

behaves different than 1.5.7!!!
This commit is contained in:
FlightControl_Master
2017-08-12 17:07:10 +02:00
parent 3742f2937c
commit 4f2afa29fa
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ function AI_A2A_GCI:onafterEngage( AIGroup, From, Event, To, AttackSetUnit )
self:F( { Angle = ToInterceptAngle, ToTargetSpeed = ToTargetSpeed } )
self:F( { self.EngageMinSpeed, self.EngageMaxSpeed, ToTargetSpeed } )
--EngageRoute[#EngageRoute+1] = CurrentCoord:WaypointAir()
EngageRoute[#EngageRoute+1] = ToPatrolRoutePoint
EngageRoute[#EngageRoute+1] = ToPatrolRoutePoint
local AttackTasks = {}