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

Function detecting

src/detect.c:1928–1932  ·  view source on GitHub ↗

callback hack for overriding vision in do_clear_area() */

Source from the content-addressed store, hash-verified

1926
1927/* callback hack for overriding vision in do_clear_area() */
1928boolean
1929detecting(void (*func)(coordxy, coordxy, genericptr_t))
1930{
1931 return (func == findone || func == openone);
1932}
1933
1934void
1935find_trap(struct trap *trap)

Callers 1

do_clear_areaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected