]> git.mxchange.org Git - flightgear.git/commitdiff
Oops, call *re*init() so that the weather conditions (not just clouds)
authorcurt <curt>
Mon, 23 Feb 2004 02:22:49 +0000 (02:22 +0000)
committercurt <curt>
Mon, 23 Feb 2004 02:22:49 +0000 (02:22 +0000)
are actually updated.

src/Environment/environment_ctrl.cxx

index c03afd61c840a16241bdce6f9d144129df9a505f..685680e646f2fdf10e7b47d7c80a401ffd398286 100644 (file)
@@ -429,7 +429,7 @@ FGMetarEnvironmentCtrl::update(double delta_time_sec)
            _icao = a.id;
             elapsed = 0.0;
             update_env_config();
-            env->init();
+            env->reinit();
         } else {
             // mark as no metar so it doesn't show up in subsequent
             // searches.