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