mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +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 (mCurrentParticleEffect.empty())
|
||||||
{
|
{
|
||||||
if (mParticleNode)
|
if (mParticleNode)
|
||||||
|
{
|
||||||
mRootNode->removeChild(mParticleNode);
|
mRootNode->removeChild(mParticleNode);
|
||||||
|
mParticleNode = NULL;
|
||||||
|
}
|
||||||
mParticleEffect = NULL;
|
mParticleEffect = NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user