| 699 | } |
| 700 | |
| 701 | static bool removeStockpileLink(df::building_siegeenginest *bld, df::building_stockpilest *pile) |
| 702 | { |
| 703 | CHECK_NULL_POINTER(bld); |
| 704 | CHECK_NULL_POINTER(pile); |
| 705 | |
| 706 | if (auto engine = find_engine(bld)) |
| 707 | { |
| 708 | forgetStockpileLink(engine, pile->id); |
| 709 | return true; |
| 710 | } |
| 711 | |
| 712 | return false; |
| 713 | } |
| 714 | |
| 715 | static df::workshop_profile *saveWorkshopProfile(df::building_siegeenginest *bld) |
| 716 | { |
nothing calls this directly
no test coverage detected