Added TODOs for foundation of checked water cells

Fix description style issues
This commit is contained in:
reaperrr
2015-07-27 13:50:53 +02:00
parent 91178d6f62
commit d8e458d028

View File

@@ -281,6 +281,7 @@ namespace OpenRA.Mods.Common.AI
foreach (var b in baseProviders)
{
// TODO: Unhardcode terrain type
// TODO2: Properly check building foundation rather than 3x3 area
var playerWorld = Player.World;
var countWaterCells = Map.FindTilesInCircle(b.Location, Info.MaxBaseRadius)
.Where(c => playerWorld.Map.Contains(c)
@@ -307,6 +308,7 @@ namespace OpenRA.Mods.Common.AI
foreach (var a in areaProviders)
{
// TODO: Unhardcode terrain type
// TODO2: Properly check building foundation rather than 3x3 area
var playerWorld = Player.World;
var adjacentWater = Map.FindTilesInCircle(a.Location, Info.CheckForWaterRadius)
.Where(c => playerWorld.Map.Contains(c)