]> git.mxchange.org Git - flightgear.git/commitdiff
Transmit an empty string in order to trigger AI/ATC interation mechanism. TODO ...
authordaveluff <daveluff>
Wed, 15 Oct 2003 21:51:12 +0000 (21:51 +0000)
committerdaveluff <daveluff>
Wed, 15 Oct 2003 21:51:12 +0000 (21:51 +0000)
src/ATC/AILocalTraffic.cxx

index 74293377ba286440908b627627c36f9dd129f204..8d58ee35f41d2ba710055e636cf73eb6c138c855 100644 (file)
@@ -340,6 +340,8 @@ void FGAILocalTraffic::Update(double dt) {
                        // Contact the tower, even if only virtually
                        changeFreq = false;
                        tower->ContactAtHoldShort(plane, this, CIRCUIT);
+                       pending_transmission = "";      // Transmit an empty string until we do it properly to activate the ATC response timer mechanism
+                       Transmit();
                        break;
                case GROUND:
                        tuned_station = ground;