X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FTraffic%2FTrafficMgr.cxx;h=9ebf78c1c7c063e80ba68352d1d4073131d4a3a8;hb=63708fb0df81a357173499d0c1950525f387db44;hp=4abbc1a20a8673618d06d28644c19708f92aef8d;hpb=4458f7ce7377a5fb718164911703cefcd946ccd0;p=flightgear.git diff --git a/src/Traffic/TrafficMgr.cxx b/src/Traffic/TrafficMgr.cxx index 4abbc1a20..9ebf78c1c 100644 --- a/src/Traffic/TrafficMgr.cxx +++ b/src/Traffic/TrafficMgr.cxx @@ -258,6 +258,7 @@ void FGTrafficManager::update(double /*dt */ ) } //cerr << "Processing << " << (*currAircraft)->getRegistration() << " with score " << (*currAircraft)->getScore() << endl; if (!((*currAircraft)->update(now, userCart))) { + (*currAircraft)->taint(); // NOTE: With traffic manager II, this statement below is no longer true // after proper initialization, we shouldnt get here. // But let's make sure