From 073279a7fd5cc580939aa1af1cff1737b8fff4e1 Mon Sep 17 00:00:00 2001 From: mrSkortch Date: Wed, 22 Feb 2017 05:14:07 -0700 Subject: [PATCH] getQFE minor change Changed getQFE function to be based on Ground level position of point given. Whoops. --- mist.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mist.lua b/mist.lua index 093a152..44e93e8 100644 --- a/mist.lua +++ b/mist.lua @@ -35,7 +35,7 @@ mist = {} -- don't change these mist.majorVersion = 4 mist.minorVersion = 4 -mist.build = 78 +mist.build = 79 -- forward declaration of log shorthand local log @@ -3849,6 +3849,7 @@ do -- mist.util scope local t, p = 0, 0 if atmosphere.getTemperatureAndPressure then + t, p = atmosphere.getTemperatureAndPressure(mist.utils.makeVec3GL(point)) end if p == 0 then local h = land.getHeight(mist.utils.makeVec2(point))/0.3048 -- convert to feet