Fix a pile of compiler warnings.

This commit is contained in:
Paul Chote
2010-11-21 12:53:04 +13:00
parent 1461309dba
commit dba7335594
8 changed files with 7 additions and 20 deletions

View File

@@ -8,18 +8,16 @@ namespace OpenRA.Traits
public ScaleInfo() { } /* only because we have other ctors */
public object Create(ActorInitializer init) { return new Scale(init.self, this); }
public object Create(ActorInitializer init) { return new Scale(this); }
}
public class Scale : IRenderModifier
{
Actor self;
public ScaleInfo Info { get; protected set; }
public Scale(Actor self, ScaleInfo info)
public Scale(ScaleInfo info)
{
this.Info = info;
this.self = self;
}
public IEnumerable<Renderable> ModifyRender(Actor self, IEnumerable<Renderable> r)