| 872 | #endif /* !SFCTOOL */ |
| 873 | |
| 874 | staticfn void |
| 875 | rest_room(NHFILE *nhfp, struct mkroom *r) |
| 876 | { |
| 877 | short i; |
| 878 | |
| 879 | Sfi_mkroom(nhfp, r, "room-mkroom"); |
| 880 | |
| 881 | for (i = 0; i < r->nsubrooms; i++) { |
| 882 | r->sbrooms[i] = &gs.subrooms[gn.nsubroom]; |
| 883 | rest_room(nhfp, &gs.subrooms[gn.nsubroom]); |
| 884 | gs.subrooms[gn.nsubroom++].resident = (struct monst *) 0; |
| 885 | } |
| 886 | } |
| 887 | |
| 888 | /* |
| 889 | * rest_rooms : That's for restoring rooms. Read the rooms structure from |