Remove unnecessary this. references.

This commit is contained in:
Paul Chote
2019-06-07 21:07:16 +01:00
committed by abcdefg30
parent ebe37a44ad
commit dabc7ec8dd
15 changed files with 24 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Graphics
this.pos = pos;
this.zOffset = zOffset;
this.railgun = railgun;
this.info = railgunInfo;
info = railgunInfo;
this.ticks = ticks;
helixRadius = info.HelixRadius + new WDist(ticks * info.HelixRadiusDeltaPerTick);
@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Common.Graphics
var screenWidth = wr.ScreenVector(new WVec(info.HelixThickness.Length, 0, 0))[0];
// Move forward from self to target to draw helix
var centerPos = this.pos;
var centerPos = pos;
var points = new float3[railgun.CycleCount * info.QuantizationCount];
for (var i = points.Length - 1; i >= 0; i--)
{