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

@@ -217,7 +217,7 @@ namespace OpenRA.Mods.Common.Projectiles
var at = (float)ticks / (length - 1);
var attitude = angle.Tan() * (1 - 2 * at) / (4 * 1024);
var u = (facing.Angle % 512) / 512f;
var u = facing.Angle % 512 / 512f;
var scale = 2048 * u * (1 - u);
var effective = (int)(facing.Angle < 512