removing some old dumb stuff

This commit is contained in:
Chris Forbes
2010-03-21 14:27:36 +13:00
parent 43cfa5a7ba
commit 4c3209cbaf
2 changed files with 1 additions and 22 deletions

View File

@@ -104,8 +104,7 @@ namespace OpenRA
if (dirs[d] != 0)
continue;
int2 cell = world.OffsetCell(topLeft, i, d);
int2 cell = topLeft + i * vecs[d];
if (world.IsCellBuildable(cell, bi.WaterBound ? UnitMovementType.Float : UnitMovementType.Wheel, null))
continue; // Cell is empty; continue search