| 1095 | dwarf->unmanaged_labors_assigned = 0; |
| 1096 | |
| 1097 | FOR_ENUM_ITEMS(unit_labor, l) |
| 1098 | { |
| 1099 | if (l == df::unit_labor::NONE) |
| 1100 | continue; |
| 1101 | if (dwarf->dwarf->status.labors[l]) |
| 1102 | if (state == IDLE) |
| 1103 | labor_infos[l].idle_dwarfs++; |
| 1104 | if (labor_infos[l].is_unmanaged()) |
| 1105 | dwarf->unmanaged_labors_assigned++; |
| 1106 | } |
| 1107 | |
| 1108 | |
| 1109 | if (print_debug) |
nothing calls this directly
no test coverage detected