- fixed handling of FogDisabled flag

This commit is contained in:
Christoph Oelckers 2019-10-20 00:45:47 +02:00
parent abaa1d19ee
commit 9437387b4a

View file

@ -373,7 +373,7 @@ public:
void SetFadeDisable(bool yes)
{
if (!yes) renderState.Flags |= RF_FogDisabled;
if (yes) renderState.Flags |= RF_FogDisabled;
else renderState.Flags &= ~RF_FogDisabled;
}