diff --git a/OpenRA.FileFormats/Map/Walkability.cs b/OpenRA.FileFormats/Map/Walkability.cs index 832c374cf3..0ee8f7dc9e 100644 --- a/OpenRA.FileFormats/Map/Walkability.cs +++ b/OpenRA.FileFormats/Map/Walkability.cs @@ -46,6 +46,7 @@ namespace OpenRA.FileFormats public int2 Size; public string Bridge; public float HP; + public bool PickAny; public Dictionary TerrainType = new Dictionary(); } @@ -77,7 +78,8 @@ namespace OpenRA.FileFormats p => (TerrainType)Enum.Parse(typeof(TerrainType),p.Value)), Bridge = section.GetValue("bridge", null), - HP = float.Parse(section.GetValue("hp", "0")) + HP = float.Parse(section.GetValue("hp", "0")), + PickAny = (bool)FieldLoader.GetValue(typeof(bool), section.GetValue("pickany", "no")), }; tile.Index = -1;