Pathfinding

This commit is contained in:
Frank
2020-10-03 18:22:23 +02:00
parent 3737592734
commit fb1e95ab87
3 changed files with 34 additions and 16 deletions

View File

@@ -1383,7 +1383,7 @@ function OPSGROUP:RemoveWaypoint(wpindex)
local n=#self.waypoints
-- Debug info.
self:I(self.lid..string.format("Removing waypoint index %d, current wp index %d. N %d-->%d", wpindex, self.currentwp, N, n))
self:T(self.lid..string.format("Removing waypoint index %d, current wp index %d. N %d-->%d", wpindex, self.currentwp, N, n))
-- Waypoint was not reached yet.
if wpindex > self.currentwp then