1
0
Fork 0

My refactoring left two values uninitialized when running a

helicopter.  Melchior caught the bug.
This commit is contained in:
andy 2003-12-03 21:26:03 +00:00
parent 6b1e5f905a
commit 9d15561937

View file

@ -1033,6 +1033,9 @@ void Airplane::solve()
void Airplane::solveHelicopter()
{
_solutionIterations = 0;
_failureMsg = 0;
applyDragFactor(Math::pow(15.7/1000, 1/SOLVE_TWEAK));
applyLiftRatio(Math::pow(104, 1/SOLVE_TWEAK));
setupState(0,0, &_cruiseState);