clear the no_charge bit on all of the objects in the list */
| 374 | |
| 375 | /* clear the no_charge bit on all of the objects in the list */ |
| 376 | staticfn void |
| 377 | clear_no_charge(struct monst *shkp, struct obj *list) |
| 378 | { |
| 379 | while (list) { |
| 380 | /* handle first element of list and any contents it may have */ |
| 381 | clear_no_charge_obj(shkp, list); |
| 382 | /* move on to next element of list */ |
| 383 | list = list->nobj; |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | /* clear no_charge from objects in pets' inventories belonging to shkp */ |
| 388 | staticfn void |
no test coverage detected