]> git.mxchange.org Git - flightgear.git/commitdiff
any wind < 1kt is "calm", not just 0.0
authormfranz <mfranz>
Thu, 7 Feb 2008 16:42:32 +0000 (16:42 +0000)
committermfranz <mfranz>
Thu, 7 Feb 2008 16:42:32 +0000 (16:42 +0000)
src/ATC/tower.cxx

index d499ff0269630e4fe5a6c9b973880ccd774c84b5..fccaaaba16bfd0386b55b9fa3e6c0434d33b1732 100644 (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";