fix a wrong comment

This commit is contained in:
Sven Czarnian
2021-12-15 13:17:40 +01:00
parent cbf033f4b6
commit 1e031dcb7c

View File

@@ -198,7 +198,7 @@ class Node:
avgSpeedDecrease = avgSpeed * 0.80 avgSpeedDecrease = avgSpeed * 0.80
decreasedSpeedFlighttime = (trackmiles / avgSpeedDecrease) * 3600.0 # given in seconds decreasedSpeedFlighttime = (trackmiles / avgSpeedDecrease) * 3600.0 # given in seconds
# calculate shortcut gain and add 15 miles for final and base turn # use the the distance to the IAF for optimizations
timeUntilIAF = flightTime - flightTimeOnStar timeUntilIAF = flightTime - flightTimeOnStar
if 0.0 > timeUntilIAF.total_seconds(): if 0.0 > timeUntilIAF.total_seconds():
timeUntilIAF = timedelta(seconds = 0) timeUntilIAF = timedelta(seconds = 0)