diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 7f237689c..ab4e23e6a 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -1296,9 +1296,11 @@ int main( int argc, char **argv ) { // seed the random number generater fg_srandom(); + // AIRCRAFT defined in uiuc_aircraft.h // AIRCRAFTDIR defined in uiuc_aircraftdir.h aircraft_ = new AIRCRAFT; aircraftdir_ = new AIRCRAFTDIR; + aircraft_dir = ""; // Initialize the Aircraft directory to "" (UIUC) // Load the configuration parameters if ( !fgInitConfig(argc, argv) ) { diff --git a/src/Main/options.cxx b/src/Main/options.cxx index a447bb670..1a6a5a7e0 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -195,8 +195,6 @@ fgOPTIONS::fgOPTIONS() : network_olk(false) { - aircraft_dir = ""; // Initialize the Aircraft directory to "" (UIUC) - // set initial values/defaults time_offset_type=FG_TIME_SYS_OFFSET; char* envp = ::getenv( "FG_ROOT" );