1
0
Fork 0

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:
daveluff 2003-09-23 21:01:02 +00:00
parent d9958c7710
commit 56a0477f76

View file

@ -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);
}