diff --git a/OpenRA.Game/Map/Map.cs b/OpenRA.Game/Map/Map.cs index c49b4c3733..608e4d52a5 100644 --- a/OpenRA.Game/Map/Map.cs +++ b/OpenRA.Game/Map/Map.cs @@ -461,8 +461,7 @@ namespace OpenRA return dataStream.ToArray(); } - public bool IsInMap(CPos xy) { return IsInMap(xy.X, xy.Y); } - public bool IsInMap(int x, int y) { return Bounds.Contains(x, y); } + public bool IsInMap(CPos xy) { return Bounds.Contains(xy.X, xy.Y); } public void Resize(int width, int height) // editor magic. {