| 15 | staticfn void set_ghostly_objlist(struct obj *objchain); |
| 16 | |
| 17 | staticfn boolean |
| 18 | no_bones_level(d_level *lev) |
| 19 | { |
| 20 | s_level *sptr; |
| 21 | |
| 22 | if (ledger_no(&gs.save_dlevel)) |
| 23 | assign_level(lev, &gs.save_dlevel); |
| 24 | |
| 25 | return (boolean) (((sptr = Is_special(lev)) != 0 && !sptr->boneid) |
| 26 | || !svd.dungeons[lev->dnum].boneid |
| 27 | /* no bones on the last or multiway branch levels |
| 28 | in any dungeon (level 1 isn't multiway) */ |
| 29 | || Is_botlevel(lev) |
| 30 | || (Is_branchlev(lev) && lev->dlevel > 1) |
| 31 | /* no bones in the invocation level */ |
| 32 | || (In_hell(lev) |
| 33 | && lev->dlevel == dunlevs_in_dungeon(lev) - 1)); |
| 34 | } |
| 35 | |
| 36 | /* Call this function for each fruit object saved in the bones level: it marks |
| 37 | * that particular type of fruit as existing (the marker is that that type's |
no test coverage detected