| 438 | } |
| 439 | |
| 440 | RESTORE_WARNING_FORMAT_NONLITERAL |
| 441 | |
| 442 | void |
| 443 | make_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" */ |
| 460 | void |
no test coverage detected