From d20ecc119c0463a09dc08a54e2dcb948244adf42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Tue, 12 Aug 2025 01:17:05 +0300 Subject: [PATCH] Fix spelling --- src/openrct2/drawing/LightFX.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;