some objects shouldn't be split when count given to getobj or askchain */
| 1661 | |
| 1662 | /* some objects shouldn't be split when count given to getobj or askchain */ |
| 1663 | boolean |
| 1664 | splittable(struct obj *obj) |
| 1665 | { |
| 1666 | return !((obj->otyp == LOADSTONE && obj->cursed) |
| 1667 | || (obj == uwep && welded(uwep))); |
| 1668 | } |
| 1669 | |
| 1670 | /* match the prompt for either 'T' or 'R' command */ |
| 1671 | staticfn boolean |
no test coverage detected