#798: Betrand Coconnier: Fix setting initial vertical speed with JSBSim
This commit is contained in:
parent
831662fca8
commit
d5c56cdffa
1 changed files with 1 additions and 1 deletions
|
@ -1171,7 +1171,7 @@ void FGJSBsim::set_Climb_Rate( double roc)
|
|||
//since both climb rate and flight path angle are set in the FG
|
||||
//startup sequence, something is needed to keep one from cancelling
|
||||
//out the other.
|
||||
if( !(fabs(roc) > 1 && fabs(fgic->GetFlightPathAngleRadIC()) < 0.01) ) {
|
||||
if( fabs(roc) > 1 && fabs(fgic->GetFlightPathAngleRadIC()) < 0.01 ) {
|
||||
if (needTrim)
|
||||
fgic->SetClimbRateFpsIC(roc);
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue