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

Function seffect_food_detection

src/read.c:2045–2052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2043}
2044
2045staticfn void
2046seffect_food_detection(struct obj **sobjp)
2047{
2048 struct obj *sobj = *sobjp;
2049
2050 if (food_detect(sobj))
2051 *sobjp = 0; /* nothing detected: strange_feeling -> useup */
2052}
2053
2054staticfn void
2055seffect_identify(struct obj **sobjp)

Callers 1

seffectsFunction · 0.85

Calls 1

food_detectFunction · 0.85

Tested by

no test coverage detected