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:
parent
f156c9522e
commit
8d358eeb7d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ ParticleSystem::ParticleSystem(const ParticleSystem ©, 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)
|
||||
|
|
Loading…
Reference in a new issue