not quite the same as throwspell limits, but close enough */
| 1616 | |
| 1617 | /* not quite the same as throwspell limits, but close enough */ |
| 1618 | staticfn boolean |
| 1619 | can_center_spell_location(coordxy x, coordxy y) |
| 1620 | { |
| 1621 | if (distmin(u.ux, u.uy, x, y) > 10) |
| 1622 | return FALSE; |
| 1623 | return (isok(x, y) && cansee(x, y) && !(IS_STWALL(levl[x][y].typ))); |
| 1624 | } |
| 1625 | |
| 1626 | staticfn void |
| 1627 | display_spell_target_positions(boolean on_off) |
no test coverage detected