| 163 | // |
| 164 | |
| 165 | static bool isEmptyPasture(df::building_civzonest *zone) { |
| 166 | if (!Buildings::isPenPasture(zone)) |
| 167 | return false; |
| 168 | return (zone->assigned_units.size() == 0); |
| 169 | } |
| 170 | |
| 171 | static bool isInBuiltCage(df::unit *unit) { |
| 172 | for (auto building : world->buildings.all) { |
no test coverage detected