called when eating interrupted by an event */
| 306 | |
| 307 | /* called when eating interrupted by an event */ |
| 308 | void |
| 309 | reset_eat(void) |
| 310 | { |
| 311 | /* we only set a flag here - the actual reset process is done after |
| 312 | * the round is spent eating. |
| 313 | */ |
| 314 | if (svc.context.victual.eating && !svc.context.victual.doreset) { |
| 315 | debugpline0("reset_eat..."); |
| 316 | svc.context.victual.doreset = 1; |
| 317 | } |
| 318 | return; |
| 319 | } |
| 320 | |
| 321 | /* base nutrition of a food-class object; this used to include a variation |
| 322 | of the code that is now in adj_victual_nutrition() and was moved due to |
no outgoing calls
no test coverage detected