Prevent chronoshifting into shroud

This commit is contained in:
Paul Chote
2010-01-06 22:59:03 +13:00
parent a6f1c9baf5
commit 33da7f73d7
3 changed files with 12 additions and 1 deletions

View File

@@ -14,6 +14,11 @@ namespace OpenRa.Game
Sprite[,] sprites = new Sprite[128, 128];
bool dirty;
public bool IsExplored(int2 xy)
{
return explored[ xy.X, xy.Y ];
}
public void Explore(Actor a)
{
foreach (var t in Game.FindTilesInCircle((1f / Game.CellSize * a.CenterLocation).ToInt2(), a.Info.Sight))