]> git.mxchange.org Git - simgear.git/commitdiff
don't reset visibility modifier in the M5SM case
authormfranz <mfranz>
Wed, 20 Feb 2008 23:36:27 +0000 (23:36 +0000)
committermfranz <mfranz>
Wed, 20 Feb 2008 23:36:27 +0000 (23:36 +0000)
simgear/environment/metar.cxx

index 9342c5482cd57be5a88186365bba48b515ccba7f..a19e48bffb96fe01907733da3d2d4e24d76c26d4 100644 (file)
@@ -493,7 +493,6 @@ bool SGMetar::scanVisibility()
                distance = i;
        } else {
 // M?(\d{1,2}|\d{1,2}/\d{1,2}|\d{1,2} \d{1,2}/\d{1,2})(SM|KM)
-               modifier = 0;
                if (*m == 'M')
                        m++, modifier = SGMetarVisibility::LESS_THAN;