clear no_charge from objects in pets' inventories belonging to shkp */
| 386 | |
| 387 | /* clear no_charge from objects in pets' inventories belonging to shkp */ |
| 388 | staticfn void |
| 389 | clear_no_charge_pets(struct monst *shkp) |
| 390 | { |
| 391 | struct monst *mtmp; |
| 392 | |
| 393 | for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) |
| 394 | if (mtmp->mtame && mtmp->minvent) |
| 395 | clear_no_charge(shkp, mtmp->minvent); |
| 396 | } |
| 397 | |
| 398 | /* either you paid or left the shop or the shopkeeper died */ |
| 399 | void |
no test coverage detected