From 435f47158f78de42b1c2c2cd1fdb6b6a6985ba83 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 17 May 2014 12:42:13 +1200 Subject: [PATCH] Remove unused Map.IsInMap(x,y) overload. --- OpenRA.Game/Map/Map.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. {