From 3dd9b14190bcbdadbbdd67d99ceb4bb0e61d480d Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 21 Feb 2004 15:20:41 +0000 Subject: [PATCH] ignore resets for now because every z/Z key press would trigger a call to NOAA. We need a better approach. --- src/Environment/environment_ctrl.cxx | 2 ++ 1 file changed, 2 insertions(+) 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(); }