Remove the baked harvester animation from proc. Fixes #1009.

This commit is contained in:
Paul Chote
2011-07-14 01:24:03 +12:00
parent 24d220213e
commit 089cdf14ad
6 changed files with 12 additions and 60 deletions

View File

@@ -30,17 +30,4 @@ namespace OpenRA.Mods.Cnc
return new HarvesterDockSequence(harv, self);
}
}
public class HarvesterDockingInfo : TraitInfo<HarvesterDocking> { }
public class HarvesterDocking : IRenderModifier
{
[Sync]
public bool Visible = true;
static readonly Renderable[] Nothing = { };
public IEnumerable<Renderable> ModifyRender(Actor self, IEnumerable<Renderable> r)
{
return Visible ? r : Nothing;
}
}
}