|
|
@ -619,13 +619,13 @@ void CopyBuilding(int buildingIndex, RemoteFortressReader::BuildingInstance * re
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
if (zone->type != df::civzone_type::ArcheryRange)
|
|
|
|
if (zone->type != df::civzone_type::ArcheryRange)
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
if(zone->dir_x < 0)
|
|
|
|
if(zone->zone_settings.archery.dir_x < 0)
|
|
|
|
remote_build->set_direction(EAST);
|
|
|
|
remote_build->set_direction(EAST);
|
|
|
|
else if(zone->dir_x > 0)
|
|
|
|
else if(zone->zone_settings.archery.dir_x > 0)
|
|
|
|
remote_build->set_direction(WEST);
|
|
|
|
remote_build->set_direction(WEST);
|
|
|
|
else if (zone->dir_y < 0)
|
|
|
|
else if (zone->zone_settings.archery.dir_y < 0)
|
|
|
|
remote_build->set_direction(SOUTH);
|
|
|
|
remote_build->set_direction(SOUTH);
|
|
|
|
else if (zone->dir_y > 0)
|
|
|
|
else if (zone->zone_settings.archery.dir_y > 0)
|
|
|
|
remote_build->set_direction(NORTH);
|
|
|
|
remote_build->set_direction(NORTH);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|