mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Error in NewFromLLDD - altitude isn't set if given
Thanks to tomekldc
This commit is contained in:
parent
12e745af54
commit
832abd7860
@ -355,9 +355,9 @@ do -- COORDINATE
|
|||||||
|
|
||||||
-- Adjust height
|
-- Adjust height
|
||||||
if altitude==nil then
|
if altitude==nil then
|
||||||
_coord.y=altitude
|
|
||||||
else
|
|
||||||
_coord.y=self:GetLandHeight()
|
_coord.y=self:GetLandHeight()
|
||||||
|
else
|
||||||
|
_coord.y=altitude
|
||||||
end
|
end
|
||||||
|
|
||||||
return _coord
|
return _coord
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user