remove done todo

This commit is contained in:
Chris Forbes
2011-09-28 10:04:51 +13:00
parent edecd166a2
commit 4f5bfceb3f

View File

@@ -48,7 +48,6 @@ namespace OpenRA.Mods.RA
.SkipWhile(p => resLayer.GetResource(p) == resourceType && resLayer.IsFull(p.X, p.Y))
.Cast<int2?>().FirstOrDefault();
// Todo: Valid terrain should be specified in the resource
if (cell != null && self.World.Map.IsInMap(cell.Value) &&
(resLayer.GetResource(cell.Value) == resourceType
|| (resLayer.GetResource(cell.Value) == null && resLayer.AllowResourceAt(resourceType, cell.Value))))