There was already handling in place to prevent showing the "continue
eating?" prompt for one-gulp food (like a wraith corpse), since the hero
would finish eating the food on that turn regardless of what the player
answered to the prompt. Resuming an interrupted multi-bite meal with
only a single bite remaining had the same problem, but wasn't accounted
for in the special "one gulp" handling. Modify the condition so it
checks for the number of bites remaining in the food, not the number of
bites total, and show the prompt only when there's more than one bite
left.
} 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;