used outside of shk.c when caller wants to know whether item is on bill but doesn't need to know any details about the bill itself */
| 1157 | /* used outside of shk.c when caller wants to know whether item is on bill |
| 1158 | but doesn't need to know any details about the bill itself */ |
| 1159 | boolean |
| 1160 | onshopbill(struct obj *obj, struct monst *shkp, boolean silent) |
| 1161 | { |
| 1162 | return onbill(obj, shkp, silent) ? TRUE : FALSE; |
| 1163 | } |
| 1164 | |
| 1165 | /* check whether an object or any of its contents belongs to a shop */ |
| 1166 | boolean |
no test coverage detected