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

Function only_here

src/invent.c:5476–5480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5474
5475
5476staticfn boolean
5477only_here(struct obj *obj)
5478{
5479 return (obj->ox == go.only.x && obj->oy == go.only.y);
5480}
5481
5482/*
5483 * Display a list of buried or underwater items in inventory style.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected