|
|
@ -342,6 +342,7 @@ void StockpileSerializer::quality_clear ( bool ( &pile_list ) [7] )
|
|
|
|
|
|
|
|
|
|
|
|
void StockpileSerializer::unserialize_list_quality ( FuncReadImport read_value, int32_t list_size, bool ( &pile_list ) [7] )
|
|
|
|
void StockpileSerializer::unserialize_list_quality ( FuncReadImport read_value, int32_t list_size, bool ( &pile_list ) [7] )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
quality_clear ( pile_list );
|
|
|
|
if ( list_size > 0 && list_size <= 7 )
|
|
|
|
if ( list_size > 0 && list_size <= 7 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
using df::enums::item_quality::item_quality;
|
|
|
|
using df::enums::item_quality::item_quality;
|
|
|
@ -359,10 +360,6 @@ void StockpileSerializer::unserialize_list_quality ( FuncReadImport read_value,
|
|
|
|
pile_list[idx] = true;
|
|
|
|
pile_list[idx] = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
quality_clear ( pile_list );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|