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

Function invoke_untrap

src/artifact.c:1837–1845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1835}
1836
1837staticfn int
1838invoke_untrap(struct obj *obj)
1839{
1840 if (!untrap(TRUE, 0, 0, (struct obj *) 0)) {
1841 obj->age = 0; /* don't charge for changing their mind */
1842 return ECMD_CANCEL;
1843 }
1844 return ECMD_TIME;
1845}
1846
1847staticfn int
1848invoke_charge_obj(struct obj *obj)

Callers 1

arti_invokeFunction · 0.85

Calls 1

untrapFunction · 0.85

Tested by

no test coverage detected