Cells with Temporary blockers should not exit early in locomotor cache
This commit is contained in:
@@ -278,8 +278,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (cellCache.Crushable.Overlaps(actor.Owner.PlayerMask))
|
||||
return true;
|
||||
|
||||
// Cache doesn't account for ignored actors - these must use the slow path
|
||||
if (ignoreActor == null)
|
||||
// Cache doesn't account for ignored actors or temporary blockers - these must use the slow path.
|
||||
if (ignoreActor == null && !cellFlag.HasCellFlag(CellFlag.HasTemporaryBlocker))
|
||||
{
|
||||
// We are blocked by another actor in the cell.
|
||||
if (cellCache.Blocking.Overlaps(actor.Owner.PlayerMask))
|
||||
|
||||
Reference in New Issue
Block a user