From 551c7279dafe1d283c3ef2779cb335b855e6bc59 Mon Sep 17 00:00:00 2001 From: Coolthulhu Date: Mon, 21 Oct 2024 22:03:27 +0200 Subject: [PATCH] fix: UI always showing "Freezing" temperature (#5598) Fix UI always showing "Freezing" temperature --- src/panels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels.cpp b/src/panels.cpp index 3031e3869823..bc13fb125124 100644 --- a/src/panels.cpp +++ b/src/panels.cpp @@ -440,9 +440,9 @@ struct temp_delta_extremes { static temp_delta_extremes temp_delta( const avatar &u ) { bodypart_str_id extreme_cur_bp; - int current_bp_extreme = 0; + int current_bp_extreme = BODYTEMP_NORM; bodypart_str_id extreme_conv_bp; - int conv_bp_extreme = 0; + int conv_bp_extreme = BODYTEMP_NORM; for( const auto &pr : u.get_body() ) { int temp_cur = pr.second.get_temp_cur(); if( std::abs( temp_cur - BODYTEMP_NORM ) >