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

Function free_edog

util/sfctool.c:1029–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void
1030free_edog(struct monst *mtmp)
1031{
1032 if (mtmp->mextra && EDOG(mtmp)) {
1033 free((genericptr_t) EDOG(mtmp));
1034 EDOG(mtmp) = (struct edog *) 0;
1035 }
1036 mtmp->mtame = 0;
1037}
1038
1039void
1040newebones(struct monst *mtmp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected