Remove unused parameters.
This commit is contained in:
committed by
abcdefg30
parent
ea243b8558
commit
0e7ad43425
@@ -130,7 +130,7 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
var overlay = new Animation(self.World, info.Image);
|
||||
var body = self.Trait<BodyOrientation>();
|
||||
anim = new AnimationWithOffset(overlay,
|
||||
() => body.LocalToWorld(info.Offset.Rotate(body.QuantizeOrientation(self, self.Orientation))),
|
||||
() => body.LocalToWorld(info.Offset.Rotate(body.QuantizeOrientation(self.Orientation))),
|
||||
() => IsTraitDisabled && !renderProlonged,
|
||||
p => RenderUtils.ZOffsetFromCenter(self, p, 1));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user