|
|
@ -233,7 +233,7 @@ void CopyBuilding(int buildingIndex, RemoteFortressReader::BuildingInstance * re
|
|
|
|
|
|
|
|
|
|
|
|
remote_build->set_building_flags(local_build->flags.whole);
|
|
|
|
remote_build->set_building_flags(local_build->flags.whole);
|
|
|
|
remote_build->set_is_room(local_build->is_room);
|
|
|
|
remote_build->set_is_room(local_build->is_room);
|
|
|
|
if (local_build->is_room)
|
|
|
|
if (local_build->is_room || local_build->getType() == df::enums::building_type::Civzone || local_build->getType() == df::enums::building_type::Stockpile)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
auto room = remote_build->mutable_room();
|
|
|
|
auto room = remote_build->mutable_room();
|
|
|
|
room->set_pos_x(local_build->room.x);
|
|
|
|
room->set_pos_x(local_build->room.x);
|
|
|
|