Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2812
void
2813
reset_trapset(void)
2814
{
2815
gt.trapinfo.tobj = 0;
2816
gt.trapinfo.force_bungle = 0;
2817
}
2818
2819
/* Place a landmine/bear trap. Helge Hafting */
2820
staticfn void
Callers
4
goto_level
Function · 0.85
use_trap
Function · 0.85
set_trap
Function · 0.85
reset_occupations
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected