1
0
Fork 0

ignore resets for now because every z/Z key press would trigger a call to NOAA. We need a better approach.

This commit is contained in:
ehofman 2004-02-21 15:20:41 +00:00
parent cb77391d43
commit 3dd9b14190

View file

@ -361,6 +361,7 @@ FGMetarEnvironmentCtrl::init ()
void void
FGMetarEnvironmentCtrl::reinit () FGMetarEnvironmentCtrl::reinit ()
{ {
#if 0
if (_icao != NULL) { if (_icao != NULL) {
free(_icao); free(_icao);
_icao = NULL; _icao = NULL;
@ -382,6 +383,7 @@ FGMetarEnvironmentCtrl::reinit ()
fgGetDouble("/environment/metar/temperature-degc")); fgGetDouble("/environment/metar/temperature-degc"));
fgSetDouble("/environment/dewpoint-degc", fgSetDouble("/environment/dewpoint-degc",
fgGetDouble("/environment/metar/dewpoint-degc")); fgGetDouble("/environment/metar/dewpoint-degc"));
#endif
env->reinit(); env->reinit();
} }