From f7c487fd4e3eb5daa8b4a24a9298ebab0d0eafe8 Mon Sep 17 00:00:00 2001 From: Dave Luff Date: Wed, 5 Jan 2011 00:32:21 +0000 Subject: [PATCH] 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. --- src/ATCDCL/atis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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