MCPcopy Index your code
hub / github.com/NetHack/NetHack / finish_splitting

Function finish_splitting

src/wield.c:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345staticfn void
346finish_splitting(struct obj *obj)
347{
348 /* obj was split off from something; give it its own invlet */
349 freeinv(obj);
350 addinv_nomerge(obj);
351}
352
353/* the #wield command - wield a weapon */
354int

Callers 2

dowieldFunction · 0.85
doquiver_coreFunction · 0.85

Calls 2

freeinvFunction · 0.85
addinv_nomergeFunction · 0.85

Tested by

no test coverage detected