diff --git a/apps/openmw/mwrender/ripplesimulation.cpp b/apps/openmw/mwrender/ripplesimulation.cpp index b7661ca664..3e8a6fd2ec 100644 --- a/apps/openmw/mwrender/ripplesimulation.cpp +++ b/apps/openmw/mwrender/ripplesimulation.cpp @@ -243,7 +243,7 @@ namespace MWRender } else { - if (mMaxNumberRipples == 0) + if (mMaxNumberRipples <= 0) return; osgParticle::ParticleSystem::ScopedWriteLock lock(*mParticleSystem->getReadWriteMutex());