From 0700498e6f54b3584bb7307be1661d864ce01f42 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 9 Jul 2003 14:45:02 +0000 Subject: [PATCH] Changes to reflect the code reorganization from CUrtis --- src/Main/fg_init.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 58d25bfcc..85c04926a 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -65,8 +65,8 @@ #include #include #ifdef FG_USE_CLOUDS_3D -# include -# include +# include +# include #endif #include #include @@ -1481,6 +1481,13 @@ bool fgInitSubsystems() { // Initialize the 3D cloud subsystem. //////////////////////////////////////////////////////////////////// if ( fgGetBool("/sim/rendering/clouds3d") ) { + static const SGPropertyNode *longitude + = fgGetNode("/sim/presets/longitude-deg"); + static const SGPropertyNode *latitude + = fgGetNode("/sim/presets/latitude-deg"); + static const SGPropertyNode *altitude + = fgGetNode("/sim/presets/altitude-ft"); + SGPath cloud_path(globals->get_fg_root()); cloud_path.append("large.sky"); SG_LOG(SG_GENERAL, SG_INFO, "Loading CLOUDS3d from: " << cloud_path.c_str()); -- 2.39.5