summaryrefslogtreecommitdiff
path: root/plugins/autolabor.cpp
diff options
context:
space:
mode:
authorKelly Martin2012-07-05 10:04:28 -0500
committerKelly Martin2012-07-05 10:04:28 -0500
commit6f4f3039e1bf0ac52be4da2b5c214eaf76f49ace (patch)
treec7782bde324061377b81fc375c310d5286cc77ff /plugins/autolabor.cpp
parentfb2d901e010f7f406c8053b7677dbca2db16f24a (diff)
parent70740481463bbde3f078b612e529e6c7a3b6704d (diff)
downloaddfhack-6f4f3039e1bf0ac52be4da2b5c214eaf76f49ace.tar.gz
dfhack-6f4f3039e1bf0ac52be4da2b5c214eaf76f49ace.tar.bz2
dfhack-6f4f3039e1bf0ac52be4da2b5c214eaf76f49ace.tar.xz
Merge remote-tracking branch 'jjyg/master'
Diffstat (limited to 'plugins/autolabor.cpp')
-rw-r--r--plugins/autolabor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/autolabor.cpp b/plugins/autolabor.cpp
index e06e5eda..cf460e1c 100644
--- a/plugins/autolabor.cpp
+++ b/plugins/autolabor.cpp
@@ -752,7 +752,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");
}