Move Facing and Altitude onto IMove impls, with associated pile of cleanups
This commit is contained in:
@@ -22,7 +22,7 @@ namespace OpenRA.Mods.RA.Render
|
||||
public class RenderInfantry : RenderSimple, INotifyAttack, INotifyDamage
|
||||
{
|
||||
public RenderInfantry(Actor self)
|
||||
: base(self, () => self.traits.Get<Unit>().Facing)
|
||||
: base(self, () => self.traits.Get<IMove>().Facing)
|
||||
{
|
||||
anim.Play("stand");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user