lit potion of oil is exploding; extinguish it as a light source before possibly killing the hero and attempting to save bones */
| 971 | /* lit potion of oil is exploding; extinguish it as a light source before |
| 972 | possibly killing the hero and attempting to save bones */ |
| 973 | void |
| 974 | explode_oil(struct obj *obj, coordxy x, coordxy y) |
| 975 | { |
| 976 | boolean diluted_oil = obj->odiluted; |
| 977 | |
| 978 | if (!obj->lamplit) |
| 979 | impossible("exploding unlit oil"); |
| 980 | end_burn(obj, TRUE); |
| 981 | obj->how_lost = LOST_EXPLODING; |
| 982 | splatter_burning_oil(x, y, diluted_oil); |
| 983 | } |
| 984 | |
| 985 | /* Convert a damage type into an explosion display type. */ |
| 986 | int |
no test coverage detected