1
0
Fork 0

segfault--

This commit is contained in:
mfranz 2008-12-18 11:49:33 +00:00
parent 91420a196e
commit 400b5a853e

View file

@ -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<SGPropertyNode_ptr> layers = clouds->getChildren("layer");
vector<SGPropertyNode_ptr>::const_iterator layer;