MCPcopy Create free account
hub / github.com/NetHack/NetHack / clear_no_charge_pets

Function clear_no_charge_pets

src/shk.c:388–396  ·  view source on GitHub ↗

clear no_charge from objects in pets' inventories belonging to shkp */

Source from the content-addressed store, hash-verified

386
387/* clear no_charge from objects in pets' inventories belonging to shkp */
388staticfn void
389clear_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 */
399void

Callers 1

hot_pursuitFunction · 0.85

Calls 1

clear_no_chargeFunction · 0.85

Tested by

no test coverage detected