diff --git a/simgear/scene/model/particles.hxx b/simgear/scene/model/particles.hxx index 78c10821..a637f20b 100644 --- a/simgear/scene/model/particles.hxx +++ b/simgear/scene/model/particles.hxx @@ -99,7 +99,7 @@ public: private: static osg::Vec3 gravity; static osg::Vec3 wind; - const SGPropertyNode* modelRoot; + SGConstPropertyNode_ptr modelRoot; static SGConstPropertyNode_ptr enabledNode; static bool enabled; };