This commit is contained in:
Chris Forbes
2010-01-11 19:29:45 +13:00
parent bd6f22c57e
commit e7a99541e5
7 changed files with 11 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ namespace OpenRa.Game.Traits
public RenderWarFactory(Actor self)
{
this.self = self;
roof = new Animation(self.LegacyInfo.Image ?? self.LegacyInfo.Name);
roof = new Animation(self.traits.WithInterface<RenderSimple>().First().GetImage(self));
}
public void BuildingComplete( Actor self )