From: curt Date: Thu, 3 Oct 2002 03:19:35 +0000 (+0000) Subject: Init 3d clouds at starting location. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bacbd50eaa7e7c79b021792ac5d8478c6bd2fd13;p=flightgear.git Init 3d clouds at starting location. --- diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index aee83504f..fbe02a162 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -917,7 +917,10 @@ bool fgInitSubsystems( void ) { 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()); - if ( !sgCloud3d->Load( cloud_path.str() ) ) { + if ( !sgCloud3d->Load( cloud_path.str(), + latitude->getDoubleValue(), + longitude->getDoubleValue()) ) + { fgSetBool("/sim/rendering/clouds3d", false); SG_LOG(SG_GENERAL, SG_INFO, "CLOUDS3d FAILED: "); }