From e4d4bf23ae0a919ba7b2d5575ff74a01f63bd808 Mon Sep 17 00:00:00 2001 From: jj Date: Wed, 4 Jul 2012 19:05:44 +0200 Subject: [PATCH] update xml, fix autolabor with new trade depot flags name --- library/xml | 2 +- plugins/autolabor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); }