From 400b5a853ee473825391fc8d37c5051bfc760ad2 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 18 Dec 2008 11:49:33 +0000 Subject: [PATCH] segfault-- --- src/Environment/environment_ctrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Environment/environment_ctrl.cxx b/src/Environment/environment_ctrl.cxx index d3533e60e..677969e70 100644 --- a/src/Environment/environment_ctrl.cxx +++ b/src/Environment/environment_ctrl.cxx @@ -579,7 +579,7 @@ FGMetarEnvironmentCtrl::update_env_config () dewpoint = fgGetDouble("/environment/metar/dewpoint-degc"); // Set the cloud layers by copying over the METAR versions. - SGPropertyNode * clouds = fgGetNode("/environment/metar/clouds"); + SGPropertyNode * clouds = fgGetNode("/environment/metar/clouds", true); vector layers = clouds->getChildren("layer"); vector::const_iterator layer;