|
|
@ -796,7 +796,7 @@ void CopyBlock(df::map_block * DfBlock, RemoteFortressReader::MapBlock * NetBloc
|
|
|
|
RemoteFortressReader::MatPair * constructionItem = NetBlock->add_construction_items();
|
|
|
|
RemoteFortressReader::MatPair * constructionItem = NetBlock->add_construction_items();
|
|
|
|
constructionItem->set_mat_type(-1);
|
|
|
|
constructionItem->set_mat_type(-1);
|
|
|
|
constructionItem->set_mat_index(-1);
|
|
|
|
constructionItem->set_mat_index(-1);
|
|
|
|
if (tileMaterial(tile) == CONSTRUCTION)
|
|
|
|
if (tileMaterial(tile) == tiletype_material::CONSTRUCTION)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
df::construction *con = df::construction::find(DfBlock->map_pos + df::coord(xx, yy, 0));
|
|
|
|
df::construction *con = df::construction::find(DfBlock->map_pos + df::coord(xx, yy, 0));
|
|
|
|
if (con)
|
|
|
|
if (con)
|
|
|
@ -1605,4 +1605,4 @@ static command_result GetCreatureRaws(color_ostream &stream, const EmptyMessage
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return CR_OK;
|
|
|
|
return CR_OK;
|
|
|
|
}
|
|
|
|
}
|
|
|
|