]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ground.cxx
Daniyar ATADJANOV:
[flightgear.git] / src / ATC / ground.cxx
index 7475f7ae017a994bc5fe17b4d1ad61bd4e33e964..4adfa9958c821c83c51f6b54467f2773b573cb0c 100644 (file)
 #include STL_FSTREAM
 
 #include "ground.hxx"
-#include "ATCmgr.hxx"
 #include "ATCutils.hxx"
-#include "ATCdisplay.hxx"
 #include "AILocalTraffic.hxx"
+#include "ATCmgr.hxx"
 
 SG_USING_STD(ifstream);
 SG_USING_STD(cout);
@@ -321,7 +320,6 @@ void FGGround::Update(double dt) {
                                trns += ConvertRwyNumToSpokenString(activeRwy);
                                if(_display) {
                                        fgSetString("/sim/messages/ground", trns.c_str());
-                                       globals->get_ATC_display()->RegisterSingleMessage(trns, 0);
                                }
                                g->planePtr->RegisterTransmission(1);   // cleared to taxi
                                g->clearanceCounter = 0.0;
@@ -340,7 +338,6 @@ void FGGround::Update(double dt) {
                        trns += buf;
                        if(_display) {
                                fgSetString("/sim/messages/ground", trns.c_str());
-                               globals->get_ATC_display()->RegisterSingleMessage(trns, 0);
                        }
                        g->planePtr->RegisterTransmission(2);   // contact tower
                        delete *ground_traffic_itr;