X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fgroundnetwork.cxx;h=a6ad1f5c44a8c0f4653d3314814f1cb7e643581e;hb=076f61f2b7e1f774bc827f34ab4a24dcc1998571;hp=9edfef37fb91bdcd9da2a78432a0e403bf79ab90;hpb=8e2d0d2a762f74ce258e1ac8635aca9949739d6d;p=flightgear.git 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