| 2172 | #undef dlev_in_current_branch |
| 2173 | |
| 2174 | staticfn boolean |
| 2175 | unplaced_floater(struct dungeon *dptr) |
| 2176 | { |
| 2177 | branch *br; |
| 2178 | int idx = (int) (dptr - svd.dungeons); |
| 2179 | |
| 2180 | /* if other floating branches are added, this will need to change */ |
| 2181 | if (idx != knox_level.dnum) |
| 2182 | return FALSE; |
| 2183 | for (br = svb.branches; br; br = br->next) |
| 2184 | if (br->end1.dnum == svn.n_dgns && br->end2.dnum == idx) |
| 2185 | return TRUE; |
| 2186 | return FALSE; |
| 2187 | } |
| 2188 | |
| 2189 | staticfn boolean |
| 2190 | unreachable_level(d_level *lvl_p, boolean unplaced) |