diff --git a/Source/Contents/Effects/EffectPrimitiveRendering.cpp b/Source/Contents/Effects/EffectPrimitiveRendering.cpp index bd98ee85..10cb1701 100644 --- a/Source/Contents/Effects/EffectPrimitiveRendering.cpp +++ b/Source/Contents/Effects/EffectPrimitiveRendering.cpp @@ -5417,16 +5417,16 @@ void CEffectPrim::RenderGroundFog(matrix& wtm) { continue; } - if (copy == 0 && kind == 11) { - alpha = 250; - if (-40.0f > y) { - alpha = static_cast((y + 40.0f) * 25.0f + 250.0f); - } - } else if (kind <= 1 || kind == 11) { + if (kind < 2) { alpha = 250; if (-20.0f > y) { alpha = static_cast((y + 20.0f) * 25.0f + 250.0f); } + } else if (kind == 11) { + alpha = 250; + if (-40.0f > y) { + alpha = static_cast((y + 40.0f) * 25.0f + 250.0f); + } } else if (kind == 14 || kind == 16) { alpha = 100; if (y > -10.0f) {