diff --git a/components/nifosg/particle.cpp b/components/nifosg/particle.cpp index ac304bdf3..92a849a0d 100644 --- a/components/nifosg/particle.cpp +++ b/components/nifosg/particle.cpp @@ -69,7 +69,7 @@ ParticleShooter::ParticleShooter() { } -ParticleShooter::ParticleShooter(const osgParticle::Shooter ©, const osg::CopyOp ©op) +ParticleShooter::ParticleShooter(const ParticleShooter ©, const osg::CopyOp ©op) : osgParticle::Shooter(copy, copyop) { *this = copy; diff --git a/components/nifosg/particle.hpp b/components/nifosg/particle.hpp index 5e463aae3..c7d5d585d 100644 --- a/components/nifosg/particle.hpp +++ b/components/nifosg/particle.hpp @@ -76,7 +76,7 @@ namespace NifOsg ParticleShooter(float minSpeed, float maxSpeed, float horizontalDir, float horizontalAngle, float verticalDir, float verticalAngle, float lifetime, float lifetimeRandom); ParticleShooter(); - ParticleShooter(const Shooter& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); + ParticleShooter(const ParticleShooter& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); META_Object(NifOsg, ParticleShooter)