| 1529 | } |
| 1530 | |
| 1531 | staticfn void |
| 1532 | mimic_light_blocking(struct monst *mtmp) |
| 1533 | { |
| 1534 | if (mtmp->minvis && is_lightblocker_mappear(mtmp)) { |
| 1535 | if (See_invisible) |
| 1536 | block_point(mtmp->mx, mtmp->my); |
| 1537 | else |
| 1538 | unblock_point(mtmp->mx, mtmp->my); |
| 1539 | } |
| 1540 | } |
| 1541 | |
| 1542 | /* |
| 1543 | * Block/unblock light depending on what a mimic is mimicking and if it's |
nothing calls this directly
no test coverage detected