Skip to content

Commit

Permalink
fix: UI always showing "Freezing" temperature (#5598)
Browse files Browse the repository at this point in the history
Fix UI always showing "Freezing" temperature
  • Loading branch information
Coolthulhu authored Oct 21, 2024
1 parent 3e7af7e commit 551c727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) >
Expand Down

0 comments on commit 551c727

Please sign in to comment.