| 749 | } |
| 750 | |
| 751 | bool Units::getCitizens(vector<df::unit *> &citizens, bool exclude_residents, bool include_insane) { |
| 752 | for (auto unit : citizensRange(world->units.active, exclude_residents, include_insane)) |
| 753 | citizens.emplace_back(unit); |
| 754 | return true; |
| 755 | } |
| 756 | |
| 757 | df::coord Units::getPosition(df::unit *unit) { |
| 758 | CHECK_NULL_POINTER(unit); |
nothing calls this directly
no test coverage detected