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
commit 0848718313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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