| 743 | } |
| 744 | |
| 745 | void fromUnit(UnitInfo* u) |
| 746 | { |
| 747 | for (size_t i = 0; i < NUM_COLUMNS; i++) |
| 748 | { |
| 749 | if (u->unit->status.labors[columns[i].labor]) |
| 750 | labors.push_back(columns[i].labor); |
| 751 | } |
| 752 | |
| 753 | } |
| 754 | |
| 755 | bool hasLabor (df::unit_labor labor) |
| 756 | { |