From: mfranz Date: Thu, 23 Mar 2006 16:48:45 +0000 (+0000) Subject: Vassilii KHACHATUROV: read rain settings from property node (preferences.xml) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6317faf376eff741da67ec6b4227394c9f67ab68;p=flightgear.git Vassilii KHACHATUROV: read rain settings from property node (preferences.xml) --- diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index e299a4942..c0d7ae5f9 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -189,6 +189,7 @@ FGEnvironmentMgr::bind () fgTie("/environment/turbulence/use-cloud-turbulence", &sgEnviro, &SGEnviro::get_turbulence_enable_state, &SGEnviro::set_turbulence_enable_state); + sgEnviro.config(fgGetNode("/sim/rendering/precipitation")); } void