Renormalize line endings and fix copyright headers again.

This commit is contained in:
Paul Chote
2011-04-07 21:15:42 +12:00
parent 1a49b46af1
commit b0425aff3b
144 changed files with 8076 additions and 7746 deletions

View File

@@ -34,8 +34,8 @@ namespace OpenRA.Mods.RA
.Any();
base.Tick(self);
}
}
static ActorInfo[] None = { };
public override IEnumerable<ActorInfo> AllItems()
{
@@ -51,7 +51,7 @@ namespace OpenRA.Mods.RA
{
// Find a production structure to build this actor
var producers = self.World
.ActorsWithTrait<Production>()
.ActorsWithTrait<Production>()
.Where(x => x.Actor.Owner == self.Owner)
.Where(x => x.Trait.Info.Produces.Contains(Info.Type))
.OrderByDescending(x => x.Actor.IsPrimaryBuilding() ? 1 : 0 ); // prioritize the primary.