TreeCache dies; trees & MINE have unitinfo

This commit is contained in:
Chris Forbes
2009-12-03 18:59:11 +13:00
parent bbbe23ae90
commit cf54a47b0c
9 changed files with 295 additions and 19 deletions

View File

@@ -47,12 +47,12 @@ namespace OpenRa.Game
+ "; add Traits= to units.ini for appropriate unit" );
}
public Actor( TreeReference tree, TreeCache treeRenderer )
{
ActorID = 0xffffffff;
Location = new int2( tree.Location );
traits.Add( new Traits.Tree( treeRenderer.GetImage( tree.Image ) ) );
}
//public Actor( TreeReference tree, TreeCache treeRenderer )
//{
// ActorID = 0xffffffff;
// Location = new int2( tree.Location );
// traits.Add( new Traits.Tree( treeRenderer.GetImage( tree.Image ) ) );
//}
public void Tick()
{