Skip to content

Commit

Permalink
Volume of eaten food is based on one charge
Browse files Browse the repository at this point in the history
Co-authored-by: Kamejeir <[email protected]>
  • Loading branch information
RenechCDDA and Kamejeir authored Jun 6, 2024
1 parent 79140a8 commit 60472f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/consumption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ ret_val<edible_rating> Character::will_eat( const item &food, bool interactive )
add_consequence( _( "Your stomach won't be happy (not rotten enough)." ), ALLERGY_WEAK );
}

units::volume in_stomach_volume = food.volume() * compute_effective_food_volume_ratio( food );
units::volume in_stomach_volume = food.volume( false, false, 1 ) * compute_effective_food_volume_ratio( food );
if( food.is_food() &&
( stomach.would_be_engorged_with( *this, in_stomach_volume, has_calorie_deficit() ) ||
has_effect( effect_hunger_full ) || has_effect( effect_hunger_engorged ) ) ) {
Expand Down

0 comments on commit 60472f0

Please sign in to comment.