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