1
0
Fork 0

any wind < 1kt is "calm", not just 0.0

This commit is contained in:
mfranz 2008-02-07 16:42:32 +00:00
parent ecc6548d71
commit fa5c059295

View file

@ -2635,7 +2635,7 @@ string FGTower::GetWeather() {
// wind
double hdg = wind_from_hdg->getDoubleValue();
double speed = wind_speed_knots->getDoubleValue();
if (speed==0)
if (speed < 1)
msg << "wind calm";
else
msg << "wind " << int(hdg) << " degrees at " << int(speed) << " knots";