ARGSUSED*/
| 1604 | |
| 1605 | /*ARGSUSED*/ |
| 1606 | staticfn boolean |
| 1607 | spell_aim_step(genericptr_t arg UNUSED, coordxy x, coordxy y) |
| 1608 | { |
| 1609 | if (!isok(x,y)) |
| 1610 | return FALSE; |
| 1611 | if (!ZAP_POS(levl[x][y].typ) |
| 1612 | && !(IS_DOOR(levl[x][y].typ) && (levl[x][y].doormask & D_ISOPEN))) |
| 1613 | return FALSE; |
| 1614 | return TRUE; |
| 1615 | } |
| 1616 | |
| 1617 | /* not quite the same as throwspell limits, but close enough */ |
| 1618 | staticfn boolean |