pull chrisforbes
This commit is contained in:
@@ -78,8 +78,10 @@ namespace OpenRa.Game
|
||||
|
||||
public void Explore(Actor a)
|
||||
{
|
||||
foreach (var t in Game.FindTilesInCircle((1f / Game.CellSize * a.CenterLocation).ToInt2(), a.Info.Sight))
|
||||
{
|
||||
foreach (var t in Game.FindTilesInCircle(
|
||||
(1f / Game.CellSize * a.CenterLocation).ToInt2(),
|
||||
a.Info.Traits.Get<OwnedActorInfo>().Sight))
|
||||
{
|
||||
explored[t.X, t.Y] = true;
|
||||
gapField[t.X, t.Y] = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user