like seetrap() but overrides vision */
| 3585 | |
| 3586 | /* like seetrap() but overrides vision */ |
| 3587 | void |
| 3588 | feeltrap(struct trap *trap) |
| 3589 | { |
| 3590 | trap->tseen = 1; |
| 3591 | map_trap(trap, 1); |
| 3592 | /* in case it's beneath something, redisplay the something */ |
| 3593 | newsym(trap->tx, trap->ty); |
| 3594 | } |
| 3595 | |
| 3596 | /* try to find a random coordinate where launching a rolling boulder |
| 3597 | could work. return TRUE if found, with coordinate in cc. */ |
no test coverage detected