Reduce the update delay from 500 ms to 100 ms.
This commit is contained in:
parent
eb0b1492a2
commit
0fda8efa03
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue