| 13 | staticfn boolean has_shrine(struct monst *); |
| 14 | |
| 15 | void |
| 16 | newepri(struct monst *mtmp) |
| 17 | { |
| 18 | if (!mtmp->mextra) |
| 19 | mtmp->mextra = newmextra(); |
| 20 | if (!EPRI(mtmp)) { |
| 21 | EPRI(mtmp) = (struct epri *) alloc(sizeof(struct epri)); |
| 22 | (void) memset((genericptr_t) EPRI(mtmp), 0, sizeof(struct epri)); |
| 23 | EPRI(mtmp)->parentmid = mtmp->m_id; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | void |
| 28 | free_epri(struct monst *mtmp) |
no test coverage detected