if ( AptId.length() ) {
// set initial position from airport id
- FG_LOG( FG_GENERAL, FG_INFO,
+ SG_LOG( SG_GENERAL, SG_INFO,
"Attempting to set starting position from airport code "
<< AptId );
if ( airports.search( AptId, &a ) )
{
fgSetString("/sim/startup/airport-id", AptId.c_str() );
- fgSetDouble("/position/altitude", -9999.0 );
- // fgSetPosFromAirportID( AptId );
+ // fgSetDouble("/position/altitude", -9999.0 );
+ // fgSetPosFromAirportID( AptId );
fgSetPosFromAirportIDandHdg( AptId,
- cur_fdm_state->get_Psi() * RAD_TO_DEG);
+ cur_fdm_state->get_Psi() *
+ SGD_RADIANS_TO_DEGREES);
BusyCursor(0);
fgReInitSubsystems();
BusyCursor(1);