Remove unnecessary parentheses

This commit is contained in:
Gustas
2023-02-19 17:01:36 +02:00
committed by Pavel Penev
parent 157d1b32dc
commit 8d0fe52dd8
48 changed files with 78 additions and 64 deletions

View File

@@ -159,7 +159,7 @@ namespace OpenRA.Mods.Common.Projectiles
// Forward step, pointing from src to target.
// QuantizationCont * forwardStep == One cycle of beam in src2target direction.
ForwardStep = (info.HelixPitch.Length * SourceToTarget) / (info.QuantizationCount * SourceToTarget.Length);
ForwardStep = info.HelixPitch.Length * SourceToTarget / (info.QuantizationCount * SourceToTarget.Length);
// An easy vector to find which is perpendicular vector to forwardStep, with 0 Z component
LeftVector = new WVec(ForwardStep.Y, -ForwardStep.X, 0);