| 637 | } |
| 638 | |
| 639 | boolean |
| 640 | has_dnstairs(struct mkroom *sroom) |
| 641 | { |
| 642 | stairway *stway = gs.stairs; |
| 643 | |
| 644 | while (stway) { |
| 645 | if (!stway->up && inside_room(sroom, stway->sx, stway->sy)) |
| 646 | return TRUE; |
| 647 | stway = stway->next; |
| 648 | } |
| 649 | return FALSE; |
| 650 | } |
| 651 | |
| 652 | boolean |
| 653 | has_upstairs(struct mkroom *sroom) |
no test coverage detected