Fix a nasty bug whereby the AI plane would descend far too early on the circuit following a touch-and-go
This commit is contained in:
parent
d9958c7710
commit
56a0477f76
1 changed files with 1 additions and 0 deletions
|
@ -800,6 +800,7 @@ void FGAILocalTraffic::FlyTrafficPattern(double dt) {
|
|||
break;
|
||||
case LANDING_ROLL:
|
||||
//inAir = false;
|
||||
descending = false;
|
||||
if(aip.getSGLocation()->get_cur_elev_m() > -9990.0) {
|
||||
pos.setelev(aip.getSGLocation()->get_cur_elev_m() + wheelOffset);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue