1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Handle negative MaxNumberRipples more sensibly

This commit is contained in:
Alexei Kotov 2024-06-21 20:03:52 +03:00
parent 82285dadc4
commit 479d4931d7

View File

@ -243,7 +243,7 @@ namespace MWRender
}
else
{
if (mMaxNumberRipples == 0)
if (mMaxNumberRipples <= 0)
return;
osgParticle::ParticleSystem::ScopedWriteLock lock(*mParticleSystem->getReadWriteMutex());