Added an #ifdef for compiling without --with-new-environment. Thanks
to Tony Peden for the catch.
This commit is contained in:
parent
2e4f836a98
commit
a9a30bfd80
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue