1
0
Fork 0

Reduce the update delay from 500 ms to 100 ms.

This commit is contained in:
ehofman 2004-05-19 08:12:21 +00:00
parent eb0b1492a2
commit 0fda8efa03

View file

@ -375,11 +375,11 @@ void FGAIAircraft::ProcessFlightPlan( double dt ) {
return; return;
} // end of initialization } // end of initialization
// let's only process the flight plan every 500 ms. // let's only process the flight plan every 100 ms.
if (dt_count < 0.5) { if (dt_count < 0.1) {
return; return;
} else { } else {
while (dt_count > 0.5) while (dt_count > 0.1)
dt_count -= dt; dt_count -= dt;
// check to see if we've reached the lead point for our next turn // check to see if we've reached the lead point for our next turn