From: daveluff Date: Wed, 15 Oct 2003 21:51:12 +0000 (+0000) Subject: Transmit an empty string in order to trigger AI/ATC interation mechanism. TODO ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=de24524acb95a1067421abb6c509fb2f41b230ba;p=flightgear.git Transmit an empty string in order to trigger AI/ATC interation mechanism. TODO - transmit the correct phraseology. --- diff --git a/src/ATC/AILocalTraffic.cxx b/src/ATC/AILocalTraffic.cxx index 74293377b..8d58ee35f 100644 --- a/src/ATC/AILocalTraffic.cxx +++ b/src/ATC/AILocalTraffic.cxx @@ -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;