]> git.mxchange.org Git - flightgear.git/commitdiff
ATIS: revert to using inches globally by default.
authorDave Luff <daveluff@ntlworld.com>
Wed, 5 Jan 2011 00:32:21 +0000 (00:32 +0000)
committerDave Luff <daveluff@ntlworld.com>
Wed, 5 Jan 2011 20:12:18 +0000 (20:12 +0000)
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.

src/ATCDCL/atis.cxx

index 16e94f67ae428468b9fb18ee2129e0fd61ec355a..53973a7a752b3272085fa85b1edd12cc9eabe9cd 100644 (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