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

Function make_deaf

src/potion.c:440–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440RESTORE_WARNING_FORMAT_NONLITERAL
441
442void
443make_deaf(long xtime, boolean talk)
444{
445 long old = HDeaf;
446
447 if (Unaware)
448 talk = FALSE;
449
450 set_itimeout(&HDeaf, xtime);
451 if ((xtime != 0L) ^ (old != 0L)) {
452 disp.botl = TRUE;
453 if (talk)
454 You(old && !Deaf ? "can hear again."
455 : "are unable to hear anything.");
456 }
457}
458
459/* set or clear "slippery fingers" */
460void

Callers 7

healupFunction · 0.85
potionbreatheFunction · 0.85
nh_timeoutFunction · 0.85
fix_worst_troubleFunction · 0.85
wiz_intrinsicFunction · 0.85
Hear_againFunction · 0.85
use_unicorn_hornFunction · 0.85

Calls 2

set_itimeoutFunction · 0.85
YouFunction · 0.85

Tested by

no test coverage detected