|
|
@ -1,4 +1,4 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
https://github.com/peterix/dfhack
|
|
|
|
https://github.com/peterix/dfhack
|
|
|
|
Copyright (c) 2009-2012 Petr Mrázek (peterix@gmail.com)
|
|
|
|
Copyright (c) 2009-2012 Petr Mrázek (peterix@gmail.com)
|
|
|
|
|
|
|
|
|
|
|
@ -1072,7 +1072,7 @@ bool Buildings::deconstruct(df::building *bld)
|
|
|
|
// Assume: no parties.
|
|
|
|
// Assume: no parties.
|
|
|
|
unlinkRooms(bld);
|
|
|
|
unlinkRooms(bld);
|
|
|
|
// Assume: not unit destroy target
|
|
|
|
// Assume: not unit destroy target
|
|
|
|
vector_erase_at(ui->tax_collection.rooms, linear_index(ui->tax_collection.rooms, bld));
|
|
|
|
vector_erase_at(ui->tax_collection.rooms, linear_index(ui->tax_collection.rooms, bld->id));
|
|
|
|
// Assume: not used in punishment
|
|
|
|
// Assume: not used in punishment
|
|
|
|
// Assume: not used in non-own jobs
|
|
|
|
// Assume: not used in non-own jobs
|
|
|
|
// Assume: does not affect pathfinding
|
|
|
|
// Assume: does not affect pathfinding
|
|
|
|