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

Function set_ghostly_objlist

src/bones.c:783–790  ·  view source on GitHub ↗

set the ghostly bit in a list of objects */

Source from the content-addressed store, hash-verified

781
782/* set the ghostly bit in a list of objects */
783staticfn void
784set_ghostly_objlist(struct obj *objchain)
785{
786 while (objchain) {
787 objchain->ghostly = 1;
788 objchain = objchain->nobj;
789 }
790}
791
792/* This is called when a marked object from a bones file is picked-up.
793 Some could result in a message, and the obj->ghostly flag is always

Callers 1

savebonesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected