#117 emit infantry on sell

This commit is contained in:
Chris Forbes
2010-04-09 19:27:45 +12:00
parent 7ade8e5ef8
commit 982c9518ac
6 changed files with 61 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ namespace OpenRA.GameRules
return TilesWhere( name, dim, footprint.ToArray(), a => a != '_' ).Select( t => t + topLeft );
}
public static IEnumerable<int2> Tiles(Actor a, Traits.Building building)
public static IEnumerable<int2> Tiles(Actor a)
{
return Tiles( a.Info.Name, a.Info.Traits.Get<BuildingInfo>(), a.Location );
}