maybe disturb buried zombies when an object is dropped or thrown nearby */
| 1784 | |
| 1785 | /* maybe disturb buried zombies when an object is dropped or thrown nearby */ |
| 1786 | void |
| 1787 | impact_disturbs_zombies(struct obj *obj, boolean violent) |
| 1788 | { |
| 1789 | /* if object won't make a noticeable impact, let buried zombies rest */ |
| 1790 | if (obj->owt < (violent ? 10U : 100U) || is_flimsy(obj)) |
| 1791 | return; |
| 1792 | |
| 1793 | disturb_buried_zombies(obj->ox, obj->oy); |
| 1794 | } |
| 1795 | |
| 1796 | /* reduce zombification timeout of buried zombies around px, py */ |
| 1797 | void |
no test coverage detected