fixing bad shroud behavior

This commit is contained in:
Chris Forbes
2010-01-05 22:17:49 +13:00
parent 77da5c89de
commit 05b4517f2e
2 changed files with 6 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ namespace OpenRa.Game
public void Explore(Actor a)
{
foreach (var t in Game.FindTilesInCircle(a.Location, a.Info.Sight))
foreach (var t in Game.FindTilesInCircle((1f/Game.CellSize * a.CenterLocation).ToInt2(), a.Info.Sight))
explored[t.X, t.Y] = true;
dirty = true;