]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATCDCL/AIPlane.hxx
Fix two bugs in the new autopilot code
[flightgear.git] / src / ATCDCL / AIPlane.hxx
index aba6e7b7ec5c7297d41850445f2c66f056c53649..53158f9296c5d9081b8176e40773fedfec3fe57b 100644 (file)
@@ -160,7 +160,7 @@ private:
        double _tgtRoll;
        bool _rollSuspended;    // Set true when a derived class has suspended AIPlane's roll control
 
-        SGSampleGroup *_sgr;
+        SGSharedPtr<SGSampleGroup> _sgr;
 };
 
 #endif  // _FG_AI_PLANE_HXX