fixing trees breaking our replay

This commit is contained in:
Chris Forbes
2009-11-05 22:21:36 +13:00
parent 841292fdf0
commit ab7737302b

View File

@@ -47,6 +47,7 @@ namespace OpenRa.Game
public Actor( TreeReference tree, TreeCache treeRenderer )
{
ActorID = 0xffffffff;
Location = new int2( tree.Location );
traits.Add( new Traits.Tree( treeRenderer.GetImage( tree.Image ) ) );
}