* Is this a multi-dungeon branch level? If so, return a pointer to the * branch. Otherwise, return null. */
| 1461 | * branch. Otherwise, return null. |
| 1462 | */ |
| 1463 | branch * |
| 1464 | Is_branchlev(d_level *lev) |
| 1465 | { |
| 1466 | branch *curr; |
| 1467 | |
| 1468 | for (curr = svb.branches; curr; curr = curr->next) { |
| 1469 | if (on_level(lev, &curr->end1) || on_level(lev, &curr->end2)) |
| 1470 | return curr; |
| 1471 | } |
| 1472 | return (branch *) 0; |
| 1473 | } |
| 1474 | |
| 1475 | /* returns True iff the branch 'lev' is in a branch which builds up */ |
| 1476 | boolean |
no test coverage detected