| 372 | } |
| 373 | |
| 374 | struct monst * |
| 375 | find_pmmonst(int pm) |
| 376 | { |
| 377 | struct monst *mtmp = 0; |
| 378 | |
| 379 | if ((svm.mvitals[pm].mvflags & G_GENOD) == 0) |
| 380 | for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) { |
| 381 | if (DEADMONSTER(mtmp)) |
| 382 | continue; |
| 383 | if (mtmp->data == &mons[pm]) |
| 384 | break; |
| 385 | } |
| 386 | |
| 387 | return mtmp; |
| 388 | } |
| 389 | |
| 390 | /* killer bee 'mon' is on a spot containing lump of royal jelly 'obj' and |
| 391 | will eat it if there is no queen bee on the level; return 1: mon died, |
no outgoing calls
no test coverage detected