Set produced unit position via an ActorInitializer. Fixes #3214.

This commit is contained in:
Paul Chote
2013-05-04 12:11:43 +12:00
parent 5877f72345
commit 55d5db0f02
5 changed files with 23 additions and 21 deletions

View File

@@ -127,6 +127,8 @@ namespace OpenRA.Mods.RA.Move
return true;
}
public int GetInitialFacing() { return InitialFacing; }
}
public class Mobile : IIssueOrder, IResolveOrder, IOrderVoice, IOccupySpace, IMove, IFacing, ISync
@@ -150,7 +152,6 @@ namespace OpenRA.Mods.RA.Move
[Sync] public int Altitude { get; set; }
public int ROT { get { return Info.ROT; } }
public int InitialFacing { get { return Info.InitialFacing; } }
[Sync] public PPos PxPosition { get; set; }
[Sync] public CPos fromCell { get { return __fromCell; } }