convert a sink into a fountain */
| 578 | |
| 579 | /* convert a sink into a fountain */ |
| 580 | void |
| 581 | breaksink(coordxy x, coordxy y) |
| 582 | { |
| 583 | if (cansee(x, y) || u_at(x, y)) |
| 584 | pline_The("pipes break! Water spurts out!"); |
| 585 | /* updates level.flags.nsinks and level.flags.nfountains */ |
| 586 | set_levltyp(x, y, FOUNTAIN); |
| 587 | levl[x][y].looted = 0; |
| 588 | levl[x][y].blessedftn = 0; |
| 589 | SET_FOUNTAIN_LOOTED(x, y); |
| 590 | newsym(x, y); |
| 591 | } |
| 592 | |
| 593 | /* quaff from a sink while standing on its location */ |
| 594 | void |
no test coverage detected