If no wind, active runway is now read-out as the most Westward facing one which is consistent with the rest of FlightGear
This commit is contained in:
parent
42527ecf1b
commit
3f15f38d8d
1 changed files with 2 additions and 0 deletions
|
@ -252,6 +252,8 @@ void FGATIS::UpdateTransmission() {
|
||||||
double speed = stationweather.get_wind_speed_kt();
|
double speed = stationweather.get_wind_speed_kt();
|
||||||
double hdg = stationweather.get_wind_from_heading_deg();
|
double hdg = stationweather.get_wind_from_heading_deg();
|
||||||
if (speed == 0) {
|
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";
|
transmission += " / Winds_light_and_variable";
|
||||||
} else {
|
} else {
|
||||||
// FIXME: get gust factor in somehow
|
// FIXME: get gust factor in somehow
|
||||||
|
|
Loading…
Reference in a new issue