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

Function nokiller

src/dbridge.c:762–769  ·  view source on GitHub ↗

clear stale reason for death and both 'entities' before returning */

Source from the content-addressed store, hash-verified

760
761/* clear stale reason for death and both 'entities' before returning */
762staticfn void
763nokiller(void)
764{
765 svk.killer.name[0] = '\0';
766 svk.killer.format = 0;
767 m_to_e((struct monst *) 0, 0, 0, &go.occupants[0]);
768 m_to_e((struct monst *) 0, 0, 0, &go.occupants[1]);
769}
770
771/*
772 * Close the drawbridge located at x,y

Callers 3

close_drawbridgeFunction · 0.85
open_drawbridgeFunction · 0.85
destroy_drawbridgeFunction · 0.85

Calls 1

m_to_eFunction · 0.85

Tested by

no test coverage detected