Merge pull request #1462 from Applevangelist/patch-64

Error in NewFromLLDD - altitude isn't set if given
This commit is contained in:
Frank
2021-02-23 10:37:25 +01:00
committed by GitHub

View File

@@ -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