A couple more tweaks to get UIUC flight model stuff to work.
This commit is contained in:
parent
bd969d8e11
commit
a2f328c8a8
2 changed files with 2 additions and 2 deletions
|
@ -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) ) {
|
||||||
|
|
|
@ -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" );
|
||||||
|
|
Loading…
Reference in a new issue