From: Durk Talsma Date: Fri, 15 May 2015 16:25:16 +0000 (+0200) Subject: A second init() is necessary to start the ATCController. There's probably a better... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cbdb8a884f147e03ff9fcf2ca23d66ba8c3fea72;p=flightgear.git 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. --- 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