Skip to content

Commit

Permalink
style(autofix.ci): automated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Sep 29, 2023
1 parent 8a55da5 commit 8446728
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bionics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1673,10 +1673,10 @@ void Character::process_bionic( bionic &bio )
}
if( calendar::once_every( 2_minutes ) ) {
std::vector<bodypart_id> damaged_hp_parts;
for (const bodypart_id& bp : get_all_body_parts(true)) {
const int hp_cur = get_part_hp_cur(bp);
if (!is_limb_broken(bp) && hp_cur < get_part_hp_max(bp)) {
damaged_hp_parts.push_back(bp);
for( const bodypart_id &bp : get_all_body_parts( true ) ) {
const int hp_cur = get_part_hp_cur( bp );
if( !is_limb_broken( bp ) && hp_cur < get_part_hp_max( bp ) ) {
damaged_hp_parts.push_back( bp );
}
}
if( !damaged_hp_parts.empty() ) {
Expand Down

0 comments on commit 8446728

Please sign in to comment.