]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AILocalTraffic.hxx
fix another crash on exit by finally converting the rest of unguarded
[flightgear.git] / src / ATC / AILocalTraffic.hxx
index 5336de74178b770a180098095109ff895961916c..a4e1505f64495ae15d9de65c99d44b2f44c245a9 100644 (file)
@@ -31,7 +31,7 @@
 
 class FGGround;
 class FGTower;
-class Gate;
+struct Gate;
 
 #include <string>
 SG_USING_STD(string);
@@ -160,8 +160,8 @@ private:
        bool inAir;                             // True when off the ground 
        
        // 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
        
        // Pattern details that (may) change
        int numInPattern;               // Number of planes in the pattern (this might get more complicated if high performance GA aircraft fly a higher pattern eventually)