From 731e80322362b4921f65d91a4e968a953ac43098 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sat, 2 Apr 2011 15:15:13 +0200 Subject: [PATCH] Minor clean-up (fixed renamed subsystems) --- src/Environment/environment_mgr.cxx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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 ) {