MCPcopy 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
887void
888uswapwepgone(void)
889{
890 if (uswapwep) {
891 setworn((struct obj *) 0, W_SWAPWEP);
892 update_inventory();
893 }
894}
895
896void
897uqwepgone(void)

Callers 4

remove_worn_itemFunction · 0.85
drop_weaponFunction · 0.85
eatspecialFunction · 0.85
selftouchFunction · 0.85

Calls 2

setwornFunction · 0.85
update_inventoryFunction · 0.85

Tested by

no test coverage detected