Return TRUE if sheds light AND will be snuffed by end_burn(). */
| 768 | |
| 769 | /* Return TRUE if sheds light AND will be snuffed by end_burn(). */ |
| 770 | boolean |
| 771 | obj_is_burning(struct obj *obj) |
| 772 | { |
| 773 | return (boolean) (obj->lamplit && (ignitable(obj) |
| 774 | || artifact_light(obj))); |
| 775 | } |
| 776 | |
| 777 | /* copy the light source(s) attached to src, and attach it/them to dest */ |
| 778 | void |
no test coverage detected