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:
parent
cb77391d43
commit
3dd9b14190
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue