Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ uswapwepgone
Function
uswapwepgone
src/wield.c:887–894 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
885
}
886
887
void
888
uswapwepgone(void)
889
{
890
if (uswapwep) {
891
setworn((struct obj *) 0, W_SWAPWEP);
892
update_inventory();
893
}
894
}
895
896
void
897
uqwepgone(void)
Callers
4
remove_worn_item
Function · 0.85
drop_weapon
Function · 0.85
eatspecial
Function · 0.85
selftouch
Function · 0.85
Calls
2
setworn
Function · 0.85
update_inventory
Function · 0.85
Tested by
no test coverage detected