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

Function unfaint

src/eat.c:3335–3344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3333}
3334
3335staticfn int
3336unfaint(void)
3337{
3338 (void) Hear_again();
3339 if (u.uhs > FAINTING)
3340 u.uhs = FAINTING;
3341 stop_occupation();
3342 disp.botl = TRUE;
3343 return 0;
3344}
3345
3346boolean
3347is_fainted(void)

Callers

nothing calls this directly

Calls 2

Hear_againFunction · 0.85
stop_occupationFunction · 0.85

Tested by

no test coverage detected