Fix IDE0090

This commit is contained in:
RoosterDragon
2023-04-05 19:34:12 +01:00
committed by Pavel Penev
parent 164abfdae1
commit 8a285f9b19
385 changed files with 790 additions and 794 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA
public WPos(int x, int y, int z) { X = x; Y = y; Z = z; }
public WPos(WDist x, WDist y, WDist z) { X = x.Length; Y = y.Length; Z = z.Length; }
public static readonly WPos Zero = new WPos(0, 0, 0);
public static readonly WPos Zero = new(0, 0, 0);
public static explicit operator WVec(in WPos a) { return new WVec(a.X, a.Y, a.Z); }