1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Fix weather particles disappearing

This commit is contained in:
scrawl 2015-06-26 02:30:39 +02:00
parent 1d76607005
commit 4ef6aa6b7f

View File

@ -923,7 +923,10 @@ void SkyManager::setWeather(const MWWorld::WeatherResult& weather)
if (mCurrentParticleEffect.empty())
{
if (mParticleNode)
{
mRootNode->removeChild(mParticleNode);
mParticleNode = NULL;
}
mParticleEffect = NULL;
}
else