1
0
Fork 0

Fix wrong throttle-position on init (trim)

This commit is contained in:
Torsten Dreyer 2011-02-14 21:01:48 +01:00
parent a1acd92a1c
commit 5ec361ae06

View file

@ -1217,8 +1217,8 @@ void FGJSBsim::do_trim(void)
globals->get_controls()->set_elevator_trim(FCS->GetPitchTrimCmd());
globals->get_controls()->set_elevator(FCS->GetDeCmd());
globals->get_controls()->set_throttle(FGControls::ALL_ENGINES,
FCS->GetThrottleCmd(0));
for( unsigned i = 0; i < Propulsion->GetNumEngines(); i++ )
globals->get_controls()->set_throttle(i, FCS->GetThrottleCmd(i));
globals->get_controls()->set_aileron(FCS->GetDaCmd());
globals->get_controls()->set_rudder( FCS->GetDrCmd());