From: ehofman Date: Wed, 19 May 2004 08:12:21 +0000 (+0000) Subject: Reduce the update delay from 500 ms to 100 ms. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0fda8efa0383a0970144112dea9a167e39191d0e;p=flightgear.git Reduce the update delay from 500 ms to 100 ms. --- diff --git a/src/AIModel/AIAircraft.cxx b/src/AIModel/AIAircraft.cxx index 8e773d481..61045327f 100644 --- a/src/AIModel/AIAircraft.cxx +++ b/src/AIModel/AIAircraft.cxx @@ -375,11 +375,11 @@ void FGAIAircraft::ProcessFlightPlan( double dt ) { return; } // end of initialization - // let's only process the flight plan every 500 ms. - if (dt_count < 0.5) { + // let's only process the flight plan every 100 ms. + if (dt_count < 0.1) { return; } else { - while (dt_count > 0.5) + while (dt_count > 0.1) dt_count -= dt; // check to see if we've reached the lead point for our next turn