| 2358 | } |
| 2359 | |
| 2360 | staticfn int |
| 2361 | wipeoff(void) |
| 2362 | { |
| 2363 | unsigned udelta = u.ucreamed; |
| 2364 | long ldelta = BlindedTimeout; |
| 2365 | |
| 2366 | if (udelta > 4) |
| 2367 | udelta = 4; |
| 2368 | u.ucreamed -= udelta; /*u.ucreamed -= min(u.ucreamed,4);*/ |
| 2369 | if (ldelta > 4L) |
| 2370 | ldelta = 4L; |
| 2371 | incr_itimeout(&HBlinded, -ldelta); /*HBlinded -= min(BlindedTimeout,4L);*/ |
| 2372 | |
| 2373 | if (!HBlinded) { |
| 2374 | pline("You've got the glop off."); |
| 2375 | u.ucreamed = 0; |
| 2376 | if (!gulp_blnd_check()) { |
| 2377 | set_itimeout(&HBlinded, 1L); |
| 2378 | make_blinded(0L, TRUE); |
| 2379 | } |
| 2380 | return 0; |
| 2381 | } else if (!u.ucreamed) { |
| 2382 | Your("%s feels clean now.", body_part(FACE)); |
| 2383 | return 0; |
| 2384 | } |
| 2385 | return 1; /* still busy */ |
| 2386 | } |
| 2387 | |
| 2388 | /* the #wipe command - wipe off your face */ |
| 2389 | int |
nothing calls this directly
no test coverage detected