|
|
@ -1017,17 +1017,6 @@ bool Buildings::deconstruct(df::building *bld)
|
|
|
|
return false;
|
|
|
|
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.
|
|
|
|
/* Immediate destruction code path.
|
|
|
|
Should only happen for abstract and unconstructed buildings.*/
|
|
|
|
Should only happen for abstract and unconstructed buildings.*/
|
|
|
|
|
|
|
|
|
|
|
|