]> git.mxchange.org Git - flightgear.git/commitdiff
If no wind, active runway is now read-out as the most Westward facing one which is...
authordaveluff <daveluff>
Wed, 5 Mar 2003 21:40:24 +0000 (21:40 +0000)
committerdaveluff <daveluff>
Wed, 5 Mar 2003 21:40:24 +0000 (21:40 +0000)
src/ATC/atis.cxx

index cc4f1618a07f7036871755a874d40547c85076a2..2e4909f3f192ebed767c6cff711f4fbea2f9f718 100644 (file)
@@ -252,6 +252,8 @@ void FGATIS::UpdateTransmission() {
        double speed = stationweather.get_wind_speed_kt();
        double hdg = stationweather.get_wind_from_heading_deg();
        if (speed == 0) {
+               hdg = 270;      // This forces West-facing rwys to be used in no-wind situations
+                               // which is consistent with Flightgear's initial setup.
                transmission += " / Winds_light_and_variable";
        } else {
                // FIXME: get gust factor in somehow