move MakeArray to FileFormats.Exts

This commit is contained in:
Chris Forbes
2011-12-27 14:52:11 +13:00
parent 523183431b
commit dd88a1269a
7 changed files with 14 additions and 14 deletions

View File

@@ -52,7 +52,7 @@ namespace OpenRA.Mods.RA
public IEnumerable<PipType> GetPips(Actor self)
{
return Graphics.Util.MakeArray( Info.PipCount,
return Exts.MakeArray( Info.PipCount,
i => ( Player.Ore * Info.PipCount > i * Player.OreCapacity )
? Info.PipColor : PipType.Transparent );
}