diff --git a/src/Environment/environment_ctrl.cxx b/src/Environment/environment_ctrl.cxx index 0e0d4dc2c..6e6f350c9 100644 --- a/src/Environment/environment_ctrl.cxx +++ b/src/Environment/environment_ctrl.cxx @@ -361,6 +361,7 @@ FGMetarEnvironmentCtrl::init () void FGMetarEnvironmentCtrl::reinit () { +#if 0 if (_icao != NULL) { free(_icao); _icao = NULL; @@ -382,6 +383,7 @@ FGMetarEnvironmentCtrl::reinit () fgGetDouble("/environment/metar/temperature-degc")); fgSetDouble("/environment/dewpoint-degc", fgGetDouble("/environment/metar/dewpoint-degc")); +#endif env->reinit(); }