diff options
| author | jj | 2012-07-04 19:05:44 +0200 |
|---|---|---|
| committer | jj | 2012-07-04 19:05:44 +0200 |
| commit | e4d4bf23ae0a919ba7b2d5575ff74a01f63bd808 (patch) | |
| tree | 59f64a6ac612ad66a962a23e788bc7d85b4e2ca0 /plugins/autolabor.cpp | |
| parent | f80ca239d02c5e130a4df918a4144912bcdef26c (diff) | |
| download | dfhack-e4d4bf23ae0a919ba7b2d5575ff74a01f63bd808.tar.gz dfhack-e4d4bf23ae0a919ba7b2d5575ff74a01f63bd808.tar.bz2 dfhack-e4d4bf23ae0a919ba7b2d5575ff74a01f63bd808.tar.xz | |
update xml, fix autolabor with new trade depot flags name
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 de1a1aef..3bae1e1b 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"); } |
