update xml, fix autolabor with new trade depot flags name

develop
jj 2012-07-04 19:05:44 +02:00
parent f80ca239d0
commit e4d4bf23ae
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit ad38c5e96b05fedf16114fd16bd463e933f13582 Subproject commit eb6f706d702367ea3121272670e603000bbdd42a

@ -740,7 +740,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
else if (df::enums::building_type::TradeDepot == type) else if (df::enums::building_type::TradeDepot == type)
{ {
df::building_tradedepotst* depot = (df::building_tradedepotst*) build; 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) if (print_debug)
out.print("Trade depot found and trader requested, trader will be excluded from all labors.\n"); out.print("Trade depot found and trader requested, trader will be excluded from all labors.\n");
} }