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

Function dispose_of_orig_obj

src/artifact.c:311–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311staticfn void
312dispose_of_orig_obj(struct obj *obj)
313{
314 if (!obj)
315 return;
316
317 obj_extract_self(obj);
318 obfree(obj, (struct obj *) 0);
319}
320
321/*
322 * Returns the full name (with articles and correct capitalization) of an

Callers 1

mk_artifactFunction · 0.85

Calls 2

obj_extract_selfFunction · 0.85
obfreeFunction · 0.85

Tested by

no test coverage detected