Update NavyGroup.lua

This commit is contained in:
Frank 2023-09-27 10:54:37 +02:00
parent 5d40091947
commit b294ef10c8

View File

@ -2174,7 +2174,7 @@ function NAVYGROUP:GetHeadingIntoWind(Offset, vdeck)
local intowind = (540 + (windto + math.deg(theta) )) % 360
-- Debug info.
self:I(self.lid..string.format("Heading into Wind: vship=%.1f, vwind=%.1f, WindTo=%03d°, Theta=%03d°, Heading=%03d", v, vwind, windto, theta, intowind))
self:T(self.lid..string.format("Heading into Wind: vship=%.1f, vwind=%.1f, WindTo=%03d°, Theta=%03d°, Heading=%03d", v, vwind, windto, theta, intowind))
return intowind, v
end