From 56a0477f76cc89da2f28a8e997ff5e59a9eb0192 Mon Sep 17 00:00:00 2001 From: daveluff Date: Tue, 23 Sep 2003 21:01:02 +0000 Subject: [PATCH] Fix a nasty bug whereby the AI plane would descend far too early on the circuit following a touch-and-go --- src/ATC/AILocalTraffic.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ATC/AILocalTraffic.cxx b/src/ATC/AILocalTraffic.cxx index ac4ed7075..b62f4b4c0 100644 --- a/src/ATC/AILocalTraffic.cxx +++ b/src/ATC/AILocalTraffic.cxx @@ -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); } -- 2.39.5