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

Function pacify_guard

src/mon.c:5762–5767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5760}
5761
5762staticfn void
5763pacify_guard(struct monst *mtmp)
5764{
5765 if (is_watch(mtmp->data))
5766 mtmp->mpeaceful = 1;
5767}
5768
5769void
5770pacify_guards(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected