| 538 | } |
| 539 | |
| 540 | RESTORE_WARNING_FORMAT_NONLITERAL |
| 541 | |
| 542 | /* reset the move counters used to limit temple entry feedback; |
| 543 | leaving the level and then returning yields a fresh start */ |
| 544 | void |
| 545 | forget_temple_entry(struct monst *priest) |
| 546 | { |
| 547 | struct epri *epri_p = priest->ispriest ? EPRI(priest) : 0; |
| 548 | |
| 549 | if (!epri_p) { |
| 550 | impossible("attempting to manipulate shrine data for non-priest?"); |
| 551 | return; |
| 552 | } |
| 553 | epri_p->intone_time = epri_p->enter_time = epri_p->peaceful_time = |
| 554 | epri_p->hostile_time = 0L; |
| 555 | } |
| 556 | |
| 557 | void |
| 558 | priest_talk(struct monst *priest) |
no test coverage detected