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

Function bury_obj

src/dig.c:2272–2282  ·  view source on GitHub ↗
(otmp)

Source from the content-addressed store, hash-verified

2270}
2271
2272void
2273bury_obj(otmp)
2274struct obj *otmp;
2275{
2276 debugpline0("bury_obj");
2277 if (cansee(otmp->ox, otmp->oy))
2278 pline_The("objects on the %s tumble into a hole!",
2279 surface(otmp->ox, otmp->oy));
2280
2281 bury_objs(otmp->ox, otmp->oy);
2282}
2283#endif /*0*/
2284
2285#ifdef DEBUG

Callers

nothing calls this directly

Calls 3

pline_TheFunction · 0.85
surfaceFunction · 0.85
bury_objsFunction · 0.85

Tested by

no test coverage detected