| 3017 | } |
| 3018 | |
| 3019 | staticfn void |
| 3020 | maybe_smudge_engr(coordxy x1, coordxy y1, coordxy x2, coordxy y2) |
| 3021 | { |
| 3022 | struct engr *ep; |
| 3023 | |
| 3024 | if (can_reach_floor(TRUE)) { |
| 3025 | if ((ep = engr_at(x1, y1)) && ep->engr_type != HEADSTONE) |
| 3026 | wipe_engr_at(x1, y1, rnd(5), FALSE); |
| 3027 | if ((x2 != x1 || y2 != y1) |
| 3028 | && (ep = engr_at(x2, y2)) && ep->engr_type != HEADSTONE) |
| 3029 | wipe_engr_at(x2, y2, rnd(5), FALSE); |
| 3030 | } |
| 3031 | } |
| 3032 | |
| 3033 | /* HP loss or passing out from overexerting yourself */ |
| 3034 | void |
no test coverage detected