| 2033 | } |
| 2034 | |
| 2035 | bool Items::cancelMelting(df::item *item) { |
| 2036 | CHECK_NULL_POINTER(item); |
| 2037 | if (!item->flags.bits.melt) |
| 2038 | return false; |
| 2039 | erase_from_vector(world->items.other.ANY_MELT_DESIGNATED, &df::item::id, item->id); |
| 2040 | item->flags.bits.melt = false; |
| 2041 | return true; |
| 2042 | } |
| 2043 | |
| 2044 | bool Items::isRouteVehicle(df::item *item) { |
| 2045 | CHECK_NULL_POINTER(item); |
nothing calls this directly
no test coverage detected