Skip to content

Commit

Permalink
Fix UI always showing "Freezing" temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
Coolthulhu committed Oct 21, 2024
1 parent 1acd5e9 commit 0b304ca
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 0b304ca

Please sign in to comment.