git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1340 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -18,11 +18,11 @@ namespace OpenRa.Game
|
||||
|
||||
protected readonly float2 renderOffset;
|
||||
|
||||
public Unit( string name, int2 cell, int palette, float2 renderOffset )
|
||||
public Unit( string name, int2 cell, Player owner, float2 renderOffset )
|
||||
{
|
||||
fromCell = toCell = cell;
|
||||
this.renderOffset = renderOffset;
|
||||
this.palette = palette;
|
||||
this.owner = owner;
|
||||
|
||||
animation = new Animation( name );
|
||||
animation.PlayFetchIndex( "idle", delegate { return facing; } );
|
||||
|
||||
Reference in New Issue
Block a user