From cbdb8a884f147e03ff9fcf2ca23d66ba8c3fea72 Mon Sep 17 00:00:00 2001 From: Durk Talsma Date: Fri, 15 May 2015 18:25:16 +0200 Subject: [PATCH] A second init() is necessary to start the ATCController. There's probably a better way to do is, but for now let's just stick to how I had it set up in early 2012. --- src/Airports/groundnetwork.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Airports/groundnetwork.cxx b/src/Airports/groundnetwork.cxx index 9edfef37f..a6ad1f5c4 100644 --- a/src/Airports/groundnetwork.cxx +++ b/src/Airports/groundnetwork.cxx @@ -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 -- 2.39.5