From 4947b1837156f6fc53470f04288b5d4859ccf6f5 Mon Sep 17 00:00:00 2001 From: Erik Hofman <erik@ehofman.com> Date: Mon, 30 Nov 2020 10:18:48 +0100 Subject: [PATCH] Comment out the weather updating code for now --- src/Environment/climate.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Environment/climate.cxx b/src/Environment/climate.cxx index cd28703e6..696402741 100644 --- a/src/Environment/climate.cxx +++ b/src/Environment/climate.cxx @@ -890,6 +890,7 @@ void FGClimate::set_environment() _rootNode->setDoubleValue("seasons-year-pct", _seasons_year*100.0); _rootNode->setDoubleValue("season-autumn-pct", ((_gl.has_autumn && _is_autumn > 0.05) ? _season_transistional : 0.0)); +#if 0 if (_weather_update) { fgSetDouble("/environment/relative-humidity", _gl.relative_humidity); @@ -899,6 +900,7 @@ void FGClimate::set_environment() fgSetDouble("/environment/temperature-degc", _gl.temperature); fgSetDouble("/environment/wind-speed-mps", _wind_speed); } +#endif if (_environment_adjust) {