Error in NewFromLLDD - altitude isn't set if given

Thanks to tomekldc
This commit is contained in:
Applevangelist
2021-02-23 10:34:55 +01:00
committed by GitHub
parent 12e745af54
commit 832abd7860

View File

@@ -355,9 +355,9 @@ do -- COORDINATE
-- Adjust height
if altitude==nil then
_coord.y=altitude
else
_coord.y=self:GetLandHeight()
else
_coord.y=altitude
end
return _coord