diff --git a/library/xml b/library/xml index ad38c5e96..eb6f706d7 160000 --- a/library/xml +++ b/library/xml @@ -1 +1 @@ -Subproject commit ad38c5e96b05fedf16114fd16bd463e933f13582 +Subproject commit eb6f706d702367ea3121272670e603000bbdd42a diff --git a/plugins/autolabor.cpp b/plugins/autolabor.cpp index de1a1aef6..3bae1e1b3 100644 --- a/plugins/autolabor.cpp +++ b/plugins/autolabor.cpp @@ -740,7 +740,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out ) else if (df::enums::building_type::TradeDepot == type) { df::building_tradedepotst* depot = (df::building_tradedepotst*) build; - trader_requested = depot->flags.bits.trader_requested; + trader_requested = depot->trade_flags.bits.trader_requested; if (print_debug) out.print("Trade depot found and trader requested, trader will be excluded from all labors.\n"); }