pull request #804 - "Continue eating?" prompt \

should be skipped when current bite finishes meal

Pull request from entrez.  Treat resuming an interrupted meal with one
bite left similarly to starting a meal that only takes one bite.

Closes #804
This commit is contained in:
PatR
2022-07-02 15:34:53 -07:00

View File

@@ -3140,8 +3140,9 @@ lesshungry(int num)
} else {
g.context.victual.fullwarn = TRUE;
if (g.context.victual.canchoke
&& g.context.victual.reqtime > 1) {
/* a one-gulp food will not survive a stop */
&& (g.context.victual.reqtime
- g.context.victual.usedtime) > 1) {
/* food with one bite left will not survive a stop */
if (!paranoid_query(ParanoidEating, "Continue eating?")) {
reset_eat();
g.nomovemsg = (char *) 0;