From: curt Date: Sat, 25 Nov 2000 20:54:52 +0000 (+0000) Subject: Fix an autopilot rate of climb bug (meter vs. feet confusion) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5531230bc7803f5cd643f77b3f94a01dbd8c2da0;p=flightgear.git Fix an autopilot rate of climb bug (meter vs. feet confusion) --- diff --git a/src/Autopilot/newauto.cxx b/src/Autopilot/newauto.cxx index 64b664ab4..aaea3e23b 100644 --- a/src/Autopilot/newauto.cxx +++ b/src/Autopilot/newauto.cxx @@ -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 :-)