From: daveluff Date: Wed, 5 Mar 2003 21:40:24 +0000 (+0000) Subject: If no wind, active runway is now read-out as the most Westward facing one which is... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f15f38d8db719aa538ec25d481f2688eb9692d8;p=flightgear.git If no wind, active runway is now read-out as the most Westward facing one which is consistent with the rest of FlightGear --- diff --git a/src/ATC/atis.cxx b/src/ATC/atis.cxx index cc4f1618a..2e4909f3f 100644 --- a/src/ATC/atis.cxx +++ b/src/ATC/atis.cxx @@ -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