From 11e0b75bc39fce0d8e0044b0a1873236f7d8b459 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 23 Feb 2004 02:22:49 +0000 Subject: [PATCH] Oops, call *re*init() so that the weather conditions (not just clouds) are actually updated. --- src/Environment/environment_ctrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Environment/environment_ctrl.cxx b/src/Environment/environment_ctrl.cxx index c03afd61c..685680e64 100644 --- a/src/Environment/environment_ctrl.cxx +++ b/src/Environment/environment_ctrl.cxx @@ -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. -- 2.39.5