Allow units to give way when path is blocked by oncoming unit.

This commit is contained in:
tovl
2019-04-12 19:26:22 +02:00
committed by RoosterDragon
parent 32309bb8ea
commit 4a609bbee8
25 changed files with 309 additions and 184 deletions

View File

@@ -198,7 +198,7 @@ namespace OpenRA.Mods.Common.Traits
if (mobile.locomotor.MovementCostForCell(cell) == short.MaxValue)
return false;
return mobile.locomotor.CanMoveFreelyInto(self, cell, null, CellConditions.BlockedByMovers);
return mobile.locomotor.CanMoveFreelyInto(self, cell, BlockedByActor.All, null);
}
}
}