Fix copypasta bogosity that mono accepts as valid code.

This commit is contained in:
Paul Chote
2010-12-01 13:19:09 +13:00
parent 2c897d4454
commit f58f460355

View File

@@ -32,12 +32,13 @@ namespace OpenRA.Mods.RA.Render
};
public AnimationState State { get; private set; }
Mobile mobile = self.Trait<Mobile>();
Mobile mobile;
public RenderInfantry(Actor self)
: base(self, () => self.Trait<IFacing>().Facing)
{
anim.Play("stand");
State = AnimationState.Idle;
mobile = self.Trait<Mobile>();
}
public void Attacking(Actor self, Target target)