|
|
@ -522,10 +522,8 @@ static void scan_logs(int32_t *usable_logs, const vector<df::unit *> &citizens,
|
|
|
|
if (item->getType() != item_type::WOOD)
|
|
|
|
if (item->getType() != item_type::WOOD)
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
|
|
if (!is_valid_item(item)) {
|
|
|
|
if (!is_valid_item(item))
|
|
|
|
INFO(status).print("autochop is_valid_item actually caught something useful!! Please tell the DFHack team.\n");
|
|
|
|
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!is_accessible_item(item->pos, citizens)) {
|
|
|
|
if (!is_accessible_item(item->pos, citizens)) {
|
|
|
|
if (inaccessible_logs)
|
|
|
|
if (inaccessible_logs)
|
|
|
|