Skip to content

Commit

Permalink
Remove redundant parentheses in item_contents.cpp (CleverRaven#55817)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettDong authored Mar 5, 2022
1 parent 2250560 commit 3f48036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item_contents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@ units::volume item_contents::total_container_capacity( const bool unrestricted_p
// item in it or is a pocket that has normal pickup disabled
// instead of returning the volume return the volume of things contained
if( pocket.volume_capacity() >= pocket_data::max_volume_for_container ||
pocket.settings.is_disabled() || ( pocket.holster_full() ) ) {
pocket.settings.is_disabled() || pocket.holster_full() ) {
total_vol += pocket.contains_volume();
} else {
total_vol += pocket.volume_capacity();
Expand Down

0 comments on commit 3f48036

Please sign in to comment.