@ -178,10 +178,5 @@ DFHACK_EXPORT bool constructWithFilters(df::building *bld, std::vector<df::job_i
*/
DFHACK_EXPORT bool deconstruct(df::building *bld);
/**
* Immediately deconstructs a building.
DFHACK_EXPORT bool deconstructImmediately(df::building *bld);
}
@ -1017,17 +1017,6 @@ bool Buildings::deconstruct(df::building *bld)
return false;
return deconstructImmediately(bld);
bool Buildings::deconstructImmediately(df::building *bld)
{
using df::global::ui;
using df::global::world;
using df::global::ui_look_list;
CHECK_NULL_POINTER(bld);
/* Immediate destruction code path.
Should only happen for abstract and unconstructed buildings.*/