From: mfranz Date: Wed, 20 Feb 2008 23:36:27 +0000 (+0000) Subject: don't reset visibility modifier in the M5SM case X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db2216848de8a94511ee28666cbe1fddfa4e5e81;p=simgear.git don't reset visibility modifier in the M5SM case --- diff --git a/simgear/environment/metar.cxx b/simgear/environment/metar.cxx index 9342c548..a19e48bf 100644 --- a/simgear/environment/metar.cxx +++ b/simgear/environment/metar.cxx @@ -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;