diff options
| author | Petr Mrázek | 2012-04-15 00:35:59 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2012-04-15 00:35:59 +0200 |
| commit | fa063e293610bae49be81f62b869ec3f5cfdf547 (patch) | |
| tree | 75c42a8368e533b6ab173df5e5506232628d4bd4 /plugins/zone.cpp | |
| parent | 45ca8c6ac103048f0b5bb48b082f6ff945c56300 (diff) | |
| download | dfhack-fa063e293610bae49be81f62b869ec3f5cfdf547.tar.gz dfhack-fa063e293610bae49be81f62b869ec3f5cfdf547.tar.bz2 dfhack-fa063e293610bae49be81f62b869ec3f5cfdf547.tar.xz | |
Track structures, fix trivial problem in zone plugin
Diffstat (limited to 'plugins/zone.cpp')
| -rw-r--r-- | plugins/zone.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/zone.cpp b/plugins/zone.cpp index 2f2b6458..9f71b85d 100644 --- a/plugins/zone.cpp +++ b/plugins/zone.cpp @@ -890,6 +890,8 @@ df::general_ref_building_civzone_assignedst * createCivzoneRef() return newref; } +bool isInBuiltCage(df::unit* unit); + // check if assigned to pen, pit, (built) cage or chain // note: BUILDING_CAGED is not set for animals (maybe it's used for dwarves who get caged as sentence) // animals in cages (no matter if built or on stockpile) get the ref CONTAINED_IN_ITEM instead |
