AT and AP mine traits

This commit is contained in:
Paul Chote
2009-12-23 03:49:49 -08:00
parent eae88e7774
commit a9010d1947
8 changed files with 113 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ namespace OpenRa.Game
}
// Replicate real-ra behavior of not being able to enter a cell if there is a mixture of crushable and uncrushable units
if (checkForBlocked && (Game.UnitInfluence.GetUnitsAt(newHere).Any(a => !Game.IsActorCrushableByMovementType(a, umt))))
if (checkForBlocked && (Game.UnitInfluence.GetUnitsAt(newHere).Any(a => !Game.IsActorPathableToCrush(a, umt))))
continue;
if (customBlock != null && customBlock(newHere))