From 2d95a8178a4b45cb8cffc8ecefdc00935aed2b9d Mon Sep 17 00:00:00 2001 From: prharvey <2677507+prharvey@users.noreply.github.com> Date: Mon, 13 Nov 2023 09:46:19 -0800 Subject: [PATCH] Correct the base variation size. --- src/character.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/character.cpp b/src/character.cpp index 3d426c2a8c7f4..a8883d6fd2591 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -9050,8 +9050,7 @@ units::temperature_delta Character::bodytemp_modifier_traits_floor() const units::temperature Character::temp_corrected_by_climate_control( units::temperature temperature, int heat_strength, int chill_strength ) const { - const units::temperature_delta base_variation = units::from_celsius_delta( units::to_celsius( - BODYTEMP_NORM ) ); + const units::temperature_delta base_variation = BODYTEMP_NORM - 27_C; const units::temperature_delta variation_heat = base_variation * ( heat_strength / 100.0f ); const units::temperature_delta variation_chill = -base_variation * ( chill_strength / 100.0f );