Skip to content

Commit

Permalink
astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
nexusmrsep committed Jul 13, 2020
1 parent 2c057c5 commit 8aa3846
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4780,12 +4780,12 @@ void Character::update_body( const time_point &from, const time_point &to )

for( const auto &v : vitamin::all() ) {
const time_duration rate = vitamin_rate( v.first );

// No blood volume regeneration if body lacks fluids
if( v.first == vitamin_blood && has_effect( effect_hypovolemia ) && get_thirst() > 240 ) {
if( v.first == vitamin_blood && has_effect( effect_hypovolemia ) && get_thirst() > 240 ) {
continue;
}

if( rate > 0_turns ) {
int qty = ticks_between( from, to, rate );
if( qty > 0 ) {
Expand Down

0 comments on commit 8aa3846

Please sign in to comment.