print_msg("Your ring pulses soothingly.\n");
}
-void notify_hunger_level(int severity)
+void notify_food_use(int amount, int hunger_severity)
{
- switch (severity)
+ if (amount != 0)
+ {
+ status_updated = true;
+ display_update();
+ }
+ switch (hunger_severity)
{
case 0:
default:
void notify_player_teleport(void);
void notify_player_telefail(void);
void notify_player_regen(void);
-void notify_hunger_level(int severity);
void notify_leadfoot_recovered(void);
void notify_armourmelt_recovered(void);
void notify_wither_recovered(void);
void notify_protection_lost(void);
void notify_wasted_gain(void);
void notify_defence_recalc(void);
+void notify_food_use(int food_use, int hunger_severity);
// Resistance notifications
squeal = 2;
}
u.food -= food_use;
- notify_hunger_level(squeal);
+ notify_food_use(food_use, squeal);
}
if (u.leadfoot > 0)
{