]> git.mxchange.org Git - flightgear.git/commitdiff
Release the frequency after finishing a transmission
authordaveluff <daveluff>
Sat, 20 Mar 2004 02:56:13 +0000 (02:56 +0000)
committerdaveluff <daveluff>
Sat, 20 Mar 2004 02:56:13 +0000 (02:56 +0000)
src/ATC/ATC.cxx

index d76ba74cf2ca9294508904708331653c847f9068..ca6e99e30498e859d6e07d8ac65e57bdba9da2d9 100644 (file)
@@ -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;
        }