1
0
Fork 0

Minor renaming issue.

This commit is contained in:
ThorstenB 2012-09-19 20:52:36 +02:00
parent 3cf7715485
commit f6207d5cb8
2 changed files with 2 additions and 2 deletions

View file

@ -747,7 +747,7 @@ void fgPostInitSubsystems()
/* Scenarios require Nasal, so FGAIManager loads the scenarios, /* Scenarios require Nasal, so FGAIManager loads the scenarios,
* including its models such as a/c carriers, in its 'postinit', * including its models such as a/c carriers, in its 'postinit',
* which is the very last thing we do. * which is the very last thing we do.
* fgInitPosition is called very early in main.cxx/fgIdleFunction, * flightgear::initPosition is called very early in main.cxx/fgIdleFunction,
* one of the first things we do, long before scenarios/carriers are * one of the first things we do, long before scenarios/carriers are
* loaded. => When requested "initial preset position" relates to a * loaded. => When requested "initial preset position" relates to a
* carrier, recalculate the 'initial' position here (how have things * carrier, recalculate the 'initial' position here (how have things

View file

@ -400,7 +400,7 @@ static bool fgSetPosFromFix( const string& id )
// Set the initial position based on presets (or defaults) // Set the initial position based on presets (or defaults)
bool initPosition() bool initPosition()
{ {
// cout << "fgInitPosition()" << endl; // cout << "initPosition()" << endl;
double gs = fgGetDouble("/sim/presets/glideslope-deg") double gs = fgGetDouble("/sim/presets/glideslope-deg")
* SG_DEGREES_TO_RADIANS ; * SG_DEGREES_TO_RADIANS ;
double od = fgGetDouble("/sim/presets/offset-distance-nm"); double od = fgGetDouble("/sim/presets/offset-distance-nm");