HasSight -> RevealsShroud and used everywhere

This commit is contained in:
Chris Forbes
2010-04-19 20:49:32 +12:00
parent 95ede55179
commit 595dd57b6f
8 changed files with 22 additions and 15 deletions

View File

@@ -87,6 +87,8 @@ namespace OpenRA.Traits
vis = GetVisOrigins(a).ToArray()
};
if (v.range == 0) return; // don't bother for things that can't see
foreach (var p in v.vis)
{
foreach (var q in FindVisibleTiles(a.World, p, v.range))