]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIGAVFRTraffic.hxx
fix another crash on exit by finally converting the rest of unguarded
[flightgear.git] / src / ATC / AIGAVFRTraffic.hxx
index fcfc79d4b3a1a82dba83c4b4c4396ba9feb6ec89..9aabd87466cd7a6245d8b66935d867262d20ed2e 100644 (file)
 #include <simgear/math/point3d.hxx>
 #include <Main/fg_props.hxx>
 
-#include "tower.hxx"
-#include "AIPlane.hxx"
-#include "ATCProjection.hxx"
-#include "ground.hxx"
 #include "AILocalTraffic.hxx"
 
 #include <string>
@@ -87,8 +83,8 @@ private:
        double stall_speed_landing_config;
        
        // environment - some of this might get moved into FGAIPlane
-       SGPropertyNode* wind_from_hdg;  //degrees
-       SGPropertyNode* wind_speed_knots;               //knots
+       SGPropertyNode_ptr wind_from_hdg;       //degrees
+       SGPropertyNode_ptr wind_speed_knots;            //knots
        
        atc_type changeFreqType;        // the service we need to change to