mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Refined the reference barometric pressure calculation
This commit is contained in:
parent
988a12327f
commit
ade2cc1c56
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user