From bc834240fd83f7279ea23818e0909c4b7ae5b66a Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Sun, 23 Aug 2026 19:10:00 +0200 Subject: [PATCH] Rename SCALE and PI_SCALED to kScale and kScaled --- src/openrct2/world/Park.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/openrct2/world/Park.cpp b/src/openrct2/world/Park.cpp index 0f07299d82..d3f9ea8770 100644 --- a/src/openrct2/world/Park.cpp +++ b/src/openrct2/world/Park.cpp @@ -518,9 +518,9 @@ namespace OpenRCT2::Park for (uint8_t n = 1; n < 55; n++) { // Avoid floating point math by rescaling PI up. - constexpr int32_t SCALE = 100000; - constexpr int32_t PI_SCALED = 314159; // PI * SCALE; - if (((PI_SCALED * (9 + n)) / SCALE) / 2 >= percentage) + constexpr int32_t kScale = 100000; + constexpr int32_t kScaled = 314159; // PI * kScale; + if (((kScaled * (9 + n)) / kScale) / 2 >= percentage) { return (9 + n) * 4; }