diff options
| author | Kelly Martin | 2012-07-05 10:04:28 -0500 |
|---|---|---|
| committer | Kelly Martin | 2012-07-05 10:04:28 -0500 |
| commit | 6f4f3039e1bf0ac52be4da2b5c214eaf76f49ace (patch) | |
| tree | c7782bde324061377b81fc375c310d5286cc77ff /plugins/autolabor.cpp | |
| parent | fb2d901e010f7f406c8053b7677dbca2db16f24a (diff) | |
| parent | 70740481463bbde3f078b612e529e6c7a3b6704d (diff) | |
| download | dfhack-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.cpp | 2 |
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"); } |
