diff --git a/src/openrct2/drawing/LightFX.cpp b/src/openrct2/drawing/LightFX.cpp index 38098b67bd..9188ac39bd 100644 --- a/src/openrct2/drawing/LightFX.cpp +++ b/src/openrct2/drawing/LightFX.cpp @@ -696,7 +696,7 @@ namespace OpenRCT2::Drawing::LightFx Add3DLight({ x, y, offsetZ }, lightType); } - static uint32_t GetLightPolution() + static uint32_t GetLightPollution() { return _lightPolution_front; } @@ -925,7 +925,7 @@ namespace OpenRCT2::Drawing::LightFx reduceColourLit *= night / static_cast(std::pow(std::max(1.01f, 0.4f + lightAvg), 2.0)); float targetLightPollution = reduceColourLit - * std::max(0.0f, 0.0f + 0.000001f * static_cast(GetLightPolution())); + * std::max(0.0f, 0.0f + 0.000001f * static_cast(GetLightPollution())); lightPolution -= (lightPolution - targetLightPollution) * 0.001f; // lightPollution /= 1.0f + fogginess * 1.0f;