Refined the reference barometric pressure calculation

This commit is contained in:
ulteq 2015-05-29 12:55:16 +02:00
parent 988a12327f
commit ade2cc1c56

View File

@ -114,7 +114,7 @@ _zeroRange = 100;
_barometricPressure = 1013.25;
if (missionNamespace getVariable [QEGVAR(advanced_ballistics,enabled), false]) then {
_barometricPressure = EGVAR(weather,altitude) call EFUNC(weather,calculateBarometricPressure);
_barometricPressure = 1013.25 * (1 - (0.0065 * EGVAR(weather,altitude)) / 288.15) ^ 5.255754495;
};
_relativeHumidity = 0.5;