Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LordZanos committed Mar 5, 2024
1 parent 71defe9 commit 79dbb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6209,7 +6209,7 @@ int item::fire_resist( bool to_self, int base_env_resist ) const
float mod = get_clothing_mod_val( clothing_mod_type_fire );

std::optional<resistances> overriden_resistance = damage_resistance_override();
if( overriden_resistance && overriden_resistance->flat.count( DT_ACID ) ) {
if( overriden_resistance && overriden_resistance->flat.count( DT_HEAT ) ) {
return std::lround( overriden_resistance->flat[DT_HEAT] + mod );
}

Expand Down

0 comments on commit 79dbb22

Please sign in to comment.