From: daveluff Date: Tue, 23 Sep 2003 21:01:02 +0000 (+0000) Subject: Fix a nasty bug whereby the AI plane would descend far too early on the circuit follo... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56a0477f76cc89da2f28a8e997ff5e59a9eb0192;p=flightgear.git Fix a nasty bug whereby the AI plane would descend far too early on the circuit following a touch-and-go --- 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); }