From: david Date: Sat, 23 Feb 2002 04:50:47 +0000 (+0000) Subject: Added an #ifdef for compiling without --with-new-environment. Thanks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a9a30bfd80d0db0a489ed65a554fbdbfd4025d53;p=flightgear.git Added an #ifdef for compiling without --with-new-environment. Thanks to Tony Peden for the catch. --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 697e0e730..fdbc4b9eb 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -1450,7 +1450,9 @@ int mainLoop( int argc, char **argv ) { globals = new FGGlobals; +#if defined(FG_NEW_ENVIRONMENT) globals->set_environment_mgr(new FGEnvironmentMgr); +#endif // seed the random number generater sg_srandom_time();