@ -176,7 +176,7 @@ bool Units::isFortControlled(df::unit *unit)
unit->flags2.bits.visitor_uninvited ||
unit->flags2.bits.underworld ||
unit->flags2.bits.resident ||
unit->flags2.bits.agitated_wilderness_creature)
unit->flags4.bits.agitated_wilderness_creature)
return false;
return unit->civ_id != -1 && unit->civ_id == plotinfo->civ_id;