Update xml, fix stockpiles build

develop
lethosor 2020-04-24 23:50:35 -04:00
parent 7bdf958518
commit 55a82e43c6
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3a1e2159a55ea46622b8bcfab35333b3674405fd
Subproject commit e42376086e04fe6db338eadefb00511dcccf1d7b

@ -417,7 +417,7 @@ void StockpileSerializer::serialize_list_itemdef ( FuncWriteExport add_value, s
{
const df::itemdef *a = items.at ( i );
// skip procedurally generated items
if ( a->base_flags.is_set ( 0 ) ) continue;
if ( a->base_flags.is_set ( df::itemdef_flags::GENERATED ) ) continue;
ItemTypeInfo ii;
if ( !ii.decode ( type, i ) ) continue;
add_value ( ii.getToken() );