| 954 | mtmp->isgd = 0; |
| 955 | } |
| 956 | void |
| 957 | newepri(struct monst *mtmp) |
| 958 | { |
| 959 | if (!mtmp->mextra) |
| 960 | mtmp->mextra = newmextra(); |
| 961 | if (!EPRI(mtmp)) { |
| 962 | EPRI(mtmp) = (struct epri *) alloc(sizeof(struct epri)); |
| 963 | (void) memset((genericptr_t) EPRI(mtmp), 0, sizeof(struct epri)); |
| 964 | } |
| 965 | } |
| 966 | |
| 967 | void |
| 968 | free_epri(struct monst *mtmp) |