|
|
|
@ -1357,7 +1357,7 @@ void Copyspatters(df::map_block * DfBlock, RemoteFortressReader::MapBlock * NetB
|
|
|
|
|
auto send_pile = NetBlock->add_spatterpile();
|
|
|
|
|
for each (auto mat in materials)
|
|
|
|
|
{
|
|
|
|
|
if (mat->amount == 0)
|
|
|
|
|
if (mat->amount[xx][yy] == 0)
|
|
|
|
|
continue;
|
|
|
|
|
auto send_spat = send_pile->add_spatters();
|
|
|
|
|
send_spat->set_state((MatterState)mat->mat_state);
|
|
|
|
@ -1368,7 +1368,7 @@ void Copyspatters(df::map_block * DfBlock, RemoteFortressReader::MapBlock * NetB
|
|
|
|
|
}
|
|
|
|
|
for each (auto item in items)
|
|
|
|
|
{
|
|
|
|
|
if (item->amount == 0)
|
|
|
|
|
if (item->amount[xx][yy] == 0)
|
|
|
|
|
continue;
|
|
|
|
|
auto send_spat = send_pile->add_spatters();
|
|
|
|
|
auto send_mat = send_spat->mutable_material();
|
|
|
|
|