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

Function newomid

src/mkobj.c:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void
143newomid(struct obj *otmp)
144{
145 if (!otmp->oextra)
146 otmp->oextra = newoextra();
147 OMID(otmp) = 0;
148}
149
150void
151free_omid(struct obj *otmp)

Callers 4

restobjFunction · 0.70
copy_oextraFunction · 0.70
obj_attach_midFunction · 0.70
add_one_tobillFunction · 0.70

Calls 1

newoextraFunction · 0.70

Tested by

no test coverage detected