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

Function free_epri

src/priest.c:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void
28free_epri(struct monst *mtmp)
29{
30 if (mtmp->mextra && EPRI(mtmp)) {
31 free((genericptr_t) EPRI(mtmp));
32 EPRI(mtmp) = (struct epri *) 0;
33 }
34 mtmp->ispriest = 0;
35}
36
37/*
38 * Move for priests and shopkeepers. Called from shk_move() and pri_move().

Callers 1

angry_priestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected