mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 15:06:43 +00:00
Fix sun glare persisting after changing to an interior cell
This commit is contained in:
parent
4983d08fe4
commit
c7805e7dd2
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ Ogre::SceneNode* SkyManager::getSunNode()
|
||||||
|
|
||||||
void SkyManager::setGlareEnabled (bool enabled)
|
void SkyManager::setGlareEnabled (bool enabled)
|
||||||
{
|
{
|
||||||
if (!mCreated)
|
if (!mCreated || !mEnabled)
|
||||||
return;
|
return;
|
||||||
mSunGlare->setVisible (mSunEnabled && enabled);
|
mSunGlare->setVisible (mSunEnabled && enabled);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue