| 731 | } |
| 732 | |
| 733 | staticfn void |
| 734 | gd_mv_monaway(struct monst *grd, int nx, int ny) |
| 735 | { |
| 736 | struct monst *mtmp = m_at(nx, ny); |
| 737 | |
| 738 | if (mtmp && mtmp != grd) { |
| 739 | if (!Deaf) { |
| 740 | SetVoice(grd, 0, 80, 0); |
| 741 | verbalize("Out of my way, scum!"); |
| 742 | } |
| 743 | if (!rloc(mtmp, RLOC_ERR | RLOC_MSG) || MON_AT(nx, ny)) |
| 744 | m_into_limbo(mtmp); |
| 745 | recalc_block_point(nx, ny); |
| 746 | } |
| 747 | } |
| 748 | |
| 749 | /* have guard pick gold off the floor, possibly moving to the gold's |
| 750 | position before message and back to his current spot after */ |
no test coverage detected