returns the depth of a level, in floors below the surface (note levels in different dungeons can have the same depth) */
| 1428 | /* returns the depth of a level, in floors below the surface |
| 1429 | (note levels in different dungeons can have the same depth) */ |
| 1430 | schar |
| 1431 | depth(d_level *lev) |
| 1432 | { |
| 1433 | return (schar) (svd.dungeons[lev->dnum].depth_start + lev->dlevel - 1); |
| 1434 | } |
| 1435 | #endif /* !SFCTOOL */ |
| 1436 | |
| 1437 | /* are "lev1" and "lev2" actually the same? */ |
no outgoing calls
no test coverage detected