]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBase.hxx
Bugfixes and some finetuning:
[flightgear.git] / src / AIModel / AIBase.hxx
index f09a96e00fee8cbe8cf68afec0a40cee8cbc1fad..b4815c41ad3b57dc5b4d9c2eca01bb99f336a79b 100644 (file)
@@ -230,7 +230,7 @@ private:
     bool _initialized;
     osg::ref_ptr<osg::LOD> _model; //The 3D model LOD object
 
-    FGAIModelData* _aimodel;
+    osg::ref_ptr<FGAIModelData> _aimodel;
 
     string _fxpath;
     SGSharedPtr<FGFX>  _fx;