]> git.mxchange.org Git - flightgear.git/commitdiff
A second init() is necessary to start the ATCController. There's probably a better...
authorDurk Talsma <durktals@gmail.com>
Fri, 15 May 2015 16:25:16 +0000 (18:25 +0200)
committerDurk Talsma <durktals@gmail.com>
Fri, 15 May 2015 16:25:16 +0000 (18:25 +0200)
src/Airports/groundnetwork.cxx

index 9edfef37fb91bdcd9da2a78432a0e403bf79ab90..a6ad1f5c44a8c0f4653d3314814f1cb7e643581e 100644 (file)
@@ -505,7 +505,9 @@ void FGGroundNetwork::announcePosition(int id,
                                        double radius, int leg,
                                        FGAIAircraft * aircraft)
 {
+    
     assert(parent);
+    init(parent);
   
     TrafficVectorIterator i = activeTraffic.begin();
     // Search search if the current id alread has an entry