limit the destination of a hole or trapdoor to the furthest level you should be able to fall to */
| 590 | /* limit the destination of a hole or trapdoor to the furthest level you |
| 591 | should be able to fall to */ |
| 592 | d_level * |
| 593 | clamp_hole_destination(d_level *dlev) |
| 594 | { |
| 595 | int bottom = dng_bottom(dlev); |
| 596 | |
| 597 | dlev->dlevel = min(dlev->dlevel, bottom); |
| 598 | return dlev; |
| 599 | } |
| 600 | |
| 601 | void |
| 602 | fall_through( |
no test coverage detected