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

Function poof

src/potion.c:2407–2413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2405}
2406
2407staticfn void
2408poof(struct obj *potion)
2409{
2410 if (potion->dknown)
2411 trycall(potion);
2412 useup(potion);
2413}
2414
2415/* do dipped potion(s) explode? */
2416staticfn boolean

Callers 1

potion_dipFunction · 0.85

Calls 2

trycallFunction · 0.85
useupFunction · 0.85

Tested by

no test coverage detected