| 961 | return FALSE; |
| 962 | } |
| 963 | staticfn int /* check callers */ |
| 964 | menudrop_split(struct obj *otmp, long cnt) |
| 965 | { |
| 966 | if (cnt && cnt < otmp->quan) { |
| 967 | if (welded(otmp)) { |
| 968 | ; /* don't split */ |
| 969 | } else if (otmp->otyp == LOADSTONE && otmp->cursed) { |
| 970 | /* same kludge as getobj(), for canletgo()'s use */ |
| 971 | otmp->corpsenm = (int) cnt; /* don't split */ |
| 972 | } else { |
| 973 | otmp = splitobj(otmp, cnt); |
| 974 | } |
| 975 | } |
| 976 | return drop(otmp); |
| 977 | } |
| 978 | |
| 979 | /* Drop things from the hero's inventory, using a menu. */ |
| 980 | staticfn int |