]> git.mxchange.org Git - flightgear.git/commitdiff
Fix an autopilot rate of climb bug (meter vs. feet confusion)
authorcurt <curt>
Sat, 25 Nov 2000 20:54:52 +0000 (20:54 +0000)
committercurt <curt>
Sat, 25 Nov 2000 20:54:52 +0000 (20:54 +0000)
src/Autopilot/newauto.cxx

index 64b664ab4e9b3a27c173b9738152ab0e6b946ae6..aaea3e23b95ce30e26dbd18a26916d2dc282847b 100644 (file)
@@ -49,7 +49,7 @@ FGAutopilot *current_autopilot;
 // Climb speed constants
 const double min_climb = 70.0; // kts
 const double best_climb = 75.0;        // kts
-const double ideal_climb_rate = 500.0; // fpm
+const double ideal_climb_rate = 500.0 * FEET_TO_METER; // fpm -> mpm
 
 /// These statics will eventually go into the class
 /// they are just here while I am experimenting -- NHV :-)