X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FEnvironment%2Fenvironment_mgr.cxx;h=3182f1159d24f95fe7579eb5077e5ff9e12cda20;hb=dc76290d6e7d2f24d6c352d8f9da4b0f9f1e5f40;hp=4d05fab29820936124defeeaca08071f67bc3d5c;hpb=340bb58579cbc767c2d89b141b0ccdb6cb281311;p=flightgear.git diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index 4d05fab29..3182f1159 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -76,12 +76,8 @@ FGEnvironmentMgr::~FGEnvironmentMgr () remove_subsystem("precipitation"); delete subsys; - subsys = get_subsystem("metarfetcher"); - remove_subsystem("metarfetcher"); - delete subsys; - - subsys = get_subsystem("metarcontroller"); - remove_subsystem("metarcontroller"); + subsys = get_subsystem("realwx"); + remove_subsystem("realwx"); delete subsys; subsys = get_subsystem("controller"); @@ -346,9 +342,6 @@ FGEnvironmentMgr::set_cloud_layer_maxalpha (int index, double maxalpha) thesky->get_cloud_layer(index)->setMaxAlpha(maxalpha); } - - - void FGEnvironmentMgr::set_cloud_layer_coverage_type (int index, int type ) {