1
0
Fork 0

ATIS: revert to using inches globally by default.

Revert to using inches globally by default, unless the user sets the
property /sim/atc/use-millibars.  Whilst this is therefore wrong by
default, it is probably the best thing in the short term since
FlightGear's altimeter dialog and the altimeters on the default
aircraft set using inches.
This commit is contained in:
Dave Luff 2011-01-05 00:32:21 +00:00
parent 6939abc9af
commit f7c487fd4e

View file

@ -462,7 +462,7 @@ int FGATIS::GenTransmission(const int regen, const int special) {
}
// Convert to millibars for most of the world (not US, not CA)
if((!US_CA) || fgGetBool("/sim/atc/use-millibars")) {
if((!US_CA) && fgGetBool("/sim/atc/use-millibars")) {
transmission += QNH + ": ";
myQNH /= mbar;
if (myQNH > 1000) myQNH -= 1000; // drop high digit