Fix line build for multi-cell neighbours.

This commit is contained in:
Paul Chote
2015-11-20 22:46:21 +00:00
committed by teees
parent 085367ced6
commit 963a92214d
2 changed files with 8 additions and 6 deletions

View File

@@ -18,6 +18,9 @@ namespace OpenRA.Mods.Common.Traits
{
[Desc("This actor is of LineBuild 'NodeType'...")]
public readonly HashSet<string> Types = new HashSet<string> { "wall" };
[Desc("Cells (outside the footprint) that contain cells that can connect to this actor.")]
public readonly CVec[] Connections = new[] { new CVec(1, 0), new CVec(0, 1), new CVec(-1, 0), new CVec(0, -1) };
}
public class LineBuildNode { }