FIx wrong material being sent with item flows.

develop
Japa 2018-03-06 22:37:26 +05:30
parent c3f931652d
commit 3e7da4d5f2
1 changed files with 1 additions and 1 deletions

@ -1418,7 +1418,7 @@ void CopyFlow(df::flow_info * localFlow, RemoteFortressReader::FlowInfo * netFlo
VIRTUAL_CAST_VAR(cloud, df::flow_guide_item_cloudst, guide);
if (cloud)
{
mat->set_mat_index(cloud->mattype);
mat->set_mat_index(cloud->matindex);
mat->set_mat_type(cloud->mattype);
auto item = netFlow->mutable_item();
item->set_mat_index(cloud->item_subtype);