Add (laser-)viceroids. Needs a proper weapon.

This commit is contained in:
Paul Chote
2011-02-10 22:50:35 +13:00
parent 48482cf09a
commit 8844ca0fdd
2 changed files with 18 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ namespace OpenRA.Mods.RA.Render
{
canSmoke = self.Info.Traits.Get<RenderUnitInfo>().Smokes;
anim.Play("idle");
anim.PlayRepeating("idle");
if (canSmoke)
anims.Add( "smoke", new AnimationWithOffset( new Animation( "smoke_m" ), null, () => !isSmoking ) );