From 80761c515e837f33a98da78777d594b4e3b21300 Mon Sep 17 00:00:00 2001 From: daveluff Date: Sat, 20 Mar 2004 02:56:13 +0000 Subject: [PATCH] Release the frequency after finishing a transmission --- src/ATC/ATC.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ATC/ATC.cxx b/src/ATC/ATC.cxx index d76ba74cf..ca6e99e30 100644 --- a/src/ATC/ATC.cxx +++ b/src/ATC/ATC.cxx @@ -122,6 +122,10 @@ void FGATC::Update(double dt) { _transmitting = false; //if(tuned_station) tuned_station->NotifyTransmissionFinished(plane.callsign); // TODO - need to let the plane the transmission is aimed at that it's finished. + // However, for now we'll just release the frequency since if we don't it all goes pear-shaped + _releaseCounter = 0.0; + _releaseTime = 0.9; + _runReleaseCounter = true; } _counter += dt; } -- 2.39.5