Remove unnecessary parameter from RenderSprites ctor.

This commit is contained in:
Paul Chote
2013-06-20 21:39:12 +12:00
parent ac0094176a
commit 1a3a4bd7ba
2 changed files with 2 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ namespace OpenRA.Traits
RenderSimpleInfo Info;
public RenderSimple(Actor self, Func<int> baseFacing)
: base(self, baseFacing)
: base(self)
{
anims.Add("", new Animation(GetImage(self), baseFacing));
Info = self.Info.Traits.Get<RenderSimpleInfo>();