Skip to content

Commit

Permalink
Update src/faction_camp.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Kamejeir and github-actions[bot] authored Jun 4, 2024
1 parent ef54fd3 commit 9f3ece3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/faction_camp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1699,7 +1699,8 @@ void basecamp::player_eats_meal()
Character &you = get_player_character();
// 83% of stomach capacity is the point where full jumps over to engorged. if the
// remaining space before that is less than the meal we're about to eat, downsize
units::volume stomach_left_to_engorged = 0.83 * you.stomach.capacity( you ) - you.stomach.contains();
units::volume stomach_left_to_engorged = 0.83 * you.stomach.capacity( you ) -
you.stomach.contains();
const int &food_available = fac()->food_supply.kcal();
if( food_available <= 0 ) {
popup( _( "You check storage for some food, but there is nothing but dust and cobwebs…" ) );
Expand Down

0 comments on commit 9f3ece3

Please sign in to comment.