Fix Neutral crushing checks.

This commit is contained in:
Paul Chote
2020-12-07 00:01:35 +00:00
committed by abcdefg30
parent 7c852d90fb
commit a8d3d5c79a
3 changed files with 7 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ namespace OpenRA.Mods.Cnc.Traits
return self.World.NoPlayersMask;
// Friendly units should move around!
return info.BlockFriendly ? self.Owner.EnemyPlayersMask : self.World.AllPlayersMask;
return info.BlockFriendly ? ~self.Owner.AlliedPlayersMask : self.World.AllPlayersMask;
}
}