From: Dave Luff Date: Wed, 5 Jan 2011 00:32:21 +0000 (+0000) Subject: ATIS: revert to using inches globally by default. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7c487fd4e3eb5daa8b4a24a9298ebab0d0eafe8;p=flightgear.git 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. --- diff --git a/src/ATCDCL/atis.cxx b/src/ATCDCL/atis.cxx index 16e94f67a..53973a7a7 100644 --- a/src/ATCDCL/atis.cxx +++ b/src/ATCDCL/atis.cxx @@ -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