From db2216848de8a94511ee28666cbe1fddfa4e5e81 Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 20 Feb 2008 23:36:27 +0000 Subject: [PATCH] don't reset visibility modifier in the M5SM case --- simgear/environment/metar.cxx | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.5