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

Function free_edog

src/dog.c:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void
35free_edog(struct monst *mtmp)
36{
37 if (mtmp->mextra && EDOG(mtmp)) {
38 free((genericptr_t) EDOG(mtmp));
39 EDOG(mtmp) = (struct edog *) 0;
40 }
41 mtmp->mtame = 0;
42}
43
44void
45initedog(struct monst *mtmp, boolean everything)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected