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

Function reset_trapset

src/apply.c:2812–2817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2810}
2811
2812void
2813reset_trapset(void)
2814{
2815 gt.trapinfo.tobj = 0;
2816 gt.trapinfo.force_bungle = 0;
2817}
2818
2819/* Place a landmine/bear trap. Helge Hafting */
2820staticfn void

Callers 4

goto_levelFunction · 0.85
use_trapFunction · 0.85
set_trapFunction · 0.85
reset_occupationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected