1
0
Fork 0

A couple more tweaks to get UIUC flight model stuff to work.

This commit is contained in:
curt 2000-03-23 03:28:54 +00:00
parent bd969d8e11
commit a2f328c8a8
2 changed files with 2 additions and 2 deletions

View file

@ -1296,9 +1296,11 @@ int main( int argc, char **argv ) {
// seed the random number generater // seed the random number generater
fg_srandom(); fg_srandom();
// AIRCRAFT defined in uiuc_aircraft.h
// AIRCRAFTDIR defined in uiuc_aircraftdir.h // AIRCRAFTDIR defined in uiuc_aircraftdir.h
aircraft_ = new AIRCRAFT; aircraft_ = new AIRCRAFT;
aircraftdir_ = new AIRCRAFTDIR; aircraftdir_ = new AIRCRAFTDIR;
aircraft_dir = ""; // Initialize the Aircraft directory to "" (UIUC)
// Load the configuration parameters // Load the configuration parameters
if ( !fgInitConfig(argc, argv) ) { if ( !fgInitConfig(argc, argv) ) {

View file

@ -195,8 +195,6 @@ fgOPTIONS::fgOPTIONS() :
network_olk(false) network_olk(false)
{ {
aircraft_dir = ""; // Initialize the Aircraft directory to "" (UIUC)
// set initial values/defaults // set initial values/defaults
time_offset_type=FG_TIME_SYS_OFFSET; time_offset_type=FG_TIME_SYS_OFFSET;
char* envp = ::getenv( "FG_ROOT" ); char* envp = ::getenv( "FG_ROOT" );