diff --git a/src/game.cpp b/src/game.cpp index 834768b140208..1055e1867b919 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1711,14 +1711,14 @@ units::temperature_delta get_heat_radiation( const tripoint_bub_ms &location ) continue; } if( player_character.pos_bub() == location ) { - bool gas_can_spread = true; + bool heat_can_spread = true; for( const tripoint_bub_ms &p : line_to( player_character.pos_bub(), dest ) ) { if( !here.has_flag( ter_furn_flag::TFLAG_PERMEABLE, p ) && here.impassable( p ) ) { - gas_can_spread = false; + heat_can_spread = false; break; } } - if( !gas_can_spread ) { + if( !heat_can_spread ) { continue; } } else if( !here.sees( location, dest, -1 ) ) {