mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge branch 'develop' into FF/Ops
This commit is contained in:
commit
2ccf4011ed
@ -189,7 +189,7 @@ function UNIT:GetAltitude(FromGround)
|
||||
|
||||
if DCSUnit then
|
||||
local altitude = 0
|
||||
local point = DCSUnit.getPoint() --DCS#Vec3
|
||||
local point = DCSUnit:getPoint() --DCS#Vec3
|
||||
altitude = point.y
|
||||
if FromGround then
|
||||
local land = land.getHeight( { x = point.x, y = point.z } ) or 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user