mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
Avoid virtual call in ParticleSystem ctor
This commit is contained in:
parent
f156c9522e
commit
8d358eeb7d
@ -27,7 +27,7 @@ ParticleSystem::ParticleSystem(const ParticleSystem ©, const osg::CopyOp &co
|
|||||||
{
|
{
|
||||||
// For some reason the osgParticle constructor doesn't copy the particles
|
// For some reason the osgParticle constructor doesn't copy the particles
|
||||||
for (int i=0;i<copy.numParticles()-copy.numDeadParticles();++i)
|
for (int i=0;i<copy.numParticles()-copy.numDeadParticles();++i)
|
||||||
createParticle(copy.getParticle(i));
|
ParticleSystem::createParticle(copy.getParticle(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParticleSystem::setQuota(int quota)
|
void ParticleSystem::setQuota(int quota)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user