Lines Matching refs:mtmp
167 struct monst *mtmp;
169 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
170 if (cansee(mtmp->mx, mtmp->my)) {
172 mtmp->mflee = mtmp->mfroz =
173 mtmp->msleep = 0;
175 mtmp->mflee = 1;
246 struct monst *mtmp;
250 if ((mtmp = m_at(u.ux + i, u.uy + j)) != NULL)
251 (void) tamedog(mtmp, (struct obj *) 0);
257 struct monst *mtmp, *mtmp2;
276 for (mtmp = fmon; mtmp; mtmp = mtmp2) {
277 mtmp2 = mtmp->nmon;
278 if (mtmp->data->mlet == *buf)
279 mondead(mtmp);
470 struct monst *mtmp;
487 for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) {
488 if (dist(mtmp->mx, mtmp->my) < 3) {
489 mtmp->mhp -= num;
490 if (strchr("FY", mtmp->data->mlet))
491 mtmp->mhp -= 3 * num; /* this might well kill
493 if (mtmp->mhp < 1) {
494 killed(mtmp);