| 2024 | } |
| 2025 | |
| 2026 | bool Items::markForMelting(df::item *item) { |
| 2027 | CHECK_NULL_POINTER(item); |
| 2028 | if (item->flags.bits.melt || !canMelt(item, true)) |
| 2029 | return false; |
| 2030 | insert_into_vector(world->items.other.ANY_MELT_DESIGNATED, &df::item::id, item); |
| 2031 | item->flags.bits.melt = true; |
| 2032 | return true; |
| 2033 | } |
| 2034 | |
| 2035 | bool Items::cancelMelting(df::item *item) { |
| 2036 | CHECK_NULL_POINTER(item); |
nothing calls this directly
no test coverage detected