mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-21 04:11:33 +00:00
Handle negative MaxNumberRipples more sensibly
This commit is contained in:
parent
82285dadc4
commit
479d4931d7
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ namespace MWRender
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (mMaxNumberRipples == 0)
|
if (mMaxNumberRipples <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
osgParticle::ParticleSystem::ScopedWriteLock lock(*mParticleSystem->getReadWriteMutex());
|
osgParticle::ParticleSystem::ScopedWriteLock lock(*mParticleSystem->getReadWriteMutex());
|
||||||
|
|
Loading…
Reference in a new issue