diff --git a/ExtLibs/Maps/WPOverlay.cs b/ExtLibs/Maps/WPOverlay.cs index 7d9bd2d40c..c3a3efd6c0 100644 --- a/ExtLibs/Maps/WPOverlay.cs +++ b/ExtLibs/Maps/WPOverlay.cs @@ -254,7 +254,11 @@ public void CreateOverlay(PointLatLngAlt home, List missionitems, do pointlist.Add(null); int wpno = (int) Math.Max(item.p1, 0); - int repeat = (int)item.p2; + //Setting this to Max of 1 jump breaks the progress tracker + //If you wanted to keep the progress tracker but maintain performance another list needs to be created + //One list will contain the total route including all jumps and the second route would contain single jumps + //Then use the single jump list when using the RegenerateWPRoute function + int repeat = Math.Max((int)item.p2,1); // Do jumps into the future are not able to be handled correctly with this new implementation of // the route array and how the route is now only one continous list of points to draw. // Therefore unfortunately we have to ignore them.