1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

Avoid virtual call in ParticleSystem ctor

This commit is contained in:
elsid 2019-11-17 18:50:42 +01:00
parent f156c9522e
commit 8d358eeb7d
No known key found for this signature in database
GPG key ID: D27B8E8D10A2896B

View file

@ -27,7 +27,7 @@ ParticleSystem::ParticleSystem(const ParticleSystem &copy, const osg::CopyOp &co
{
// For some reason the osgParticle constructor doesn't copy the particles
for (int i=0;i<copy.numParticles()-copy.numDeadParticles();++i)
createParticle(copy.getParticle(i));
ParticleSystem::createParticle(copy.getParticle(i));
}
void ParticleSystem::setQuota(int quota)