diff --git a/library/xml b/library/xml index 27fec9797..a54516705 160000 --- a/library/xml +++ b/library/xml @@ -1 +1 @@ -Subproject commit 27fec9797d7d1215bd3f5530b44a55a9d394fe75 +Subproject commit a545167050fee9eedd5e319b518d961f933154a3 diff --git a/plugins/zone.cpp b/plugins/zone.cpp index 2f2b64588..9f71b85d8 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