From: curt Date: Mon, 23 Feb 2004 02:22:49 +0000 (+0000) Subject: Oops, call *re*init() so that the weather conditions (not just clouds) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=11e0b75bc39fce0d8e0044b0a1873236f7d8b459;p=flightgear.git Oops, call *re*init() so that the weather conditions (not just clouds) are actually updated. --- 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.