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

Function find_justpicked

src/pickup.c:647–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647struct obj *
648find_justpicked(struct obj *olist)
649{
650 struct obj *otmp;
651
652 for (otmp = olist; otmp; otmp = otmp->nobj)
653 if (otmp->pickup_prev)
654 return otmp;
655
656 return (struct obj *) 0;
657}
658
659/*
660 * Have the hero pick things from the ground

Callers 3

menu_dropFunction · 0.85
query_categoryFunction · 0.85
menu_lootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected