Add MinRange support to AffectsShroud.

This commit is contained in:
Paul Chote
2019-12-10 22:01:00 +00:00
committed by abcdefg30
parent 5830d4de6c
commit 04bad1ae66
3 changed files with 16 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ namespace OpenRA.Mods.Common.Effects
if (range == WDist.Zero)
return NoCells;
return Shroud.ProjectedCellsInRange(map, pos, range)
return Shroud.ProjectedCellsInRange(map, pos, WDist.Zero, range)
.ToArray();
}