Remove unused parameters.

This commit is contained in:
Matthias Mailänder
2022-03-13 12:02:52 +01:00
committed by abcdefg30
parent ea243b8558
commit 0e7ad43425
205 changed files with 451 additions and 455 deletions

View File

@@ -136,7 +136,7 @@ namespace OpenRA.Mods.Common.Traits
WVec CalculateTargetableOffset(Actor self, in WVec offset)
{
var localOffset = offset;
var quantizedBodyOrientation = orientation.QuantizeOrientation(self, self.Orientation);
var quantizedBodyOrientation = orientation.QuantizeOrientation(self.Orientation);
if (turret != null)
{
@@ -154,7 +154,7 @@ namespace OpenRA.Mods.Common.Traits
return Info.Type.DistanceFromEdge(pos, origin, orientation);
}
public IEnumerable<IRenderable> RenderDebugAnnotations(Actor self, WorldRenderer wr)
public IEnumerable<IRenderable> RenderDebugAnnotations(Actor self)
{
var targetPosHLine = new WVec(0, 128, 0);
var targetPosVLine = new WVec(128, 0, 0);