send stockpile and civzone extents in remotefortressreader.cpp

develop
Japa 2015-10-09 23:35:12 +05:30
parent ce80a42b24
commit 30c14ed914
1 changed files with 1 additions and 1 deletions

@ -233,7 +233,7 @@ void CopyBuilding(int buildingIndex, RemoteFortressReader::BuildingInstance * re
remote_build->set_building_flags(local_build->flags.whole);
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();
room->set_pos_x(local_build->room.x);