- FCS->SetDa( controls.get_aileron() );
- FCS->SetDe( controls.get_elevator() + controls.get_elevator_trim() );
- FCS->SetDr( controls.get_rudder() );
- FCS->SetDf( 0.0 );
- FCS->SetDs( 0.0 );
- FCS->SetThrottle( controls.get_throttle( 0 ) );
+ FDMExec.GetFCS()->SetDa( controls.get_aileron() );
+ FDMExec.GetFCS()->SetDe( controls.get_elevator()
+ + controls.get_elevator_trim() );
+ FDMExec.GetFCS()->SetDr( controls.get_rudder() );
+ FDMExec.GetFCS()->SetDf( 0.0 );
+ FDMExec.GetFCS()->SetDs( 0.0 );
+ FDMExec.GetFCS()->SetThrottle( FGControls::ALL_ENGINES,
+ controls.get_throttle( 0 ) );