Skip to content

Commit

Permalink
astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirmuolio committed Jul 7, 2021
1 parent fbf1472 commit 3d136da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/visitable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ int Character::charges_of( const itype_id &what, int limit,
for( const auto &bio : *this->my_bionics ) {
const bionic_data &bid = bio.info();
if( bid.fake_item == what && ( !bid.activated || bio.powered ) ) {
return std::min( item(bid.fake_item).ammo_remaining( p ), limit );
return std::min( item( bid.fake_item ).ammo_remaining( p ), limit );
}
}

Expand Down

0 comments on commit 3d136da

Please sign in to comment.