]> git.mxchange.org Git - flightgear.git/commitdiff
Reduce the update delay from 500 ms to 100 ms.
authorehofman <ehofman>
Wed, 19 May 2004 08:12:21 +0000 (08:12 +0000)
committerehofman <ehofman>
Wed, 19 May 2004 08:12:21 +0000 (08:12 +0000)
src/AIModel/AIAircraft.cxx

index 8e773d481f82b81894fc88dd3be830141ab8b21b..61045327f99c2ea843f63933b22b8c945ff257dd 100644 (file)
@@ -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