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

Function free_emin

src/minion.c:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void
29free_emin(struct monst *mtmp)
30{
31 if (mtmp->mextra && EMIN(mtmp)) {
32 free((genericptr_t) EMIN(mtmp));
33 EMIN(mtmp) = (struct emin *) 0;
34 }
35 mtmp->isminion = 0;
36}
37
38/* count the number of monsters on the level */
39int

Callers 1

make_familiarFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected