clear the unpaid bit on a single object and its contents */
| 306 | |
| 307 | /* clear the unpaid bit on a single object and its contents */ |
| 308 | staticfn void |
| 309 | clear_unpaid_obj(struct monst *shkp, struct obj *otmp) |
| 310 | { |
| 311 | if (Has_contents(otmp)) |
| 312 | clear_unpaid(shkp, otmp->cobj); |
| 313 | if (onbill(otmp, shkp, TRUE)) |
| 314 | otmp->unpaid = 0; |
| 315 | } |
| 316 | |
| 317 | /* clear the unpaid bit on all of the objects in the list */ |
| 318 | staticfn void |
no test coverage detected