monster might need to be removed before saving a bones file, in case these characters are not in their home bases */
| 387 | /* monster might need to be removed before saving a bones file, |
| 388 | in case these characters are not in their home bases */ |
| 389 | staticfn void |
| 390 | remove_mon_from_bones(struct monst *mtmp) |
| 391 | { |
| 392 | struct permonst *mptr = mtmp->data; |
| 393 | |
| 394 | if (mtmp->iswiz || mptr == &mons[PM_MEDUSA] |
| 395 | || mptr->msound == MS_NEMESIS || mptr->msound == MS_LEADER |
| 396 | || is_Vlad(mtmp) /* mptr == &mons[VLAD_THE_IMPALER] || cham == VLAD */ |
| 397 | || (mptr == &mons[PM_ORACLE] && !fixuporacle(mtmp))) |
| 398 | mongone(mtmp); |
| 399 | } |
| 400 | |
| 401 | /* save bones and possessions of a deceased adventurer */ |
| 402 | void |
nothing calls this directly
no test coverage detected