Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b3brodie committed Dec 18, 2024
1 parent 1cfc0d7 commit 38191d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handle_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ avatar::smash_result avatar::smash( tripoint_bub_ms &smashp )
if( !bash_info ) {
continue;
}
if( smashskill < bash_info->str_min && one_in( 10 ) || fd_to_smsh.first->indestructible ) {
if( ( smashskill < bash_info->str_min && one_in( 10 ) ) || fd_to_smsh.first->indestructible ) {
add_msg( m_neutral, _( "You don't seem to be damaging the %s." ), fd_to_smsh.first->get_name() );
ret.did_smash = true;
return ret;
Expand Down

0 comments on commit 38191d6

Please sign in to comment.