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:
parent
1d76607005
commit
4ef6aa6b7f
@ -923,7 +923,10 @@ void SkyManager::setWeather(const MWWorld::WeatherResult& weather)
|
||||
if (mCurrentParticleEffect.empty())
|
||||
{
|
||||
if (mParticleNode)
|
||||
{
|
||||
mRootNode->removeChild(mParticleNode);
|
||||
mParticleNode = NULL;
|
||||
}
|
||||
mParticleEffect = NULL;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user