| 687 | } |
| 688 | |
| 689 | static string get_role_assignment(color_ostream &out, df::building_civzonest * zone) { |
| 690 | if (!zone) |
| 691 | return ""; |
| 692 | TRACE(control,out).print("get_role_assignment: zone_id={}\n", zone->id); |
| 693 | auto it = noble_zones.find(zone->id); |
| 694 | if (it == noble_zones.end() || it->second.empty()) |
| 695 | return ""; |
| 696 | return it->second[0]; |
| 697 | } |
| 698 | |
| 699 | |
| 700 | static string preserve_rooms_getRoleAssignmentForZone(color_ostream &out, df::building_civzonest * zone) { |
no test coverage detected