Fix formatting rule warnings.

This commit is contained in:
Matthias Mailänder
2024-07-30 21:43:08 +02:00
committed by Gustas
parent 578a9fe457
commit 14ef6b5774
2 changed files with 6 additions and 4 deletions

View File

@@ -212,7 +212,8 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
{ {
// "tib" - Regular Tiberium // "tib" - Regular Tiberium
{ {
0x01, new byte[] 0x01,
new byte[]
{ {
0x66, 0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x66, 0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F,
0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79
@@ -221,7 +222,8 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
// "btib" - Blue Tiberium // "btib" - Blue Tiberium
{ {
0x02, new byte[] 0x02,
new byte[]
{ {
0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26,

View File

@@ -25,8 +25,8 @@ namespace OpenRA.Mods.Common.Graphics
static readonly Dictionary<CVec, int> Offset2CornerIndex = new() static readonly Dictionary<CVec, int> Offset2CornerIndex = new()
{ {
{ new CVec(0, -1), (int)Corner.TopLeft }, { new CVec(0, -1), (int)Corner.TopLeft },
{ new CVec(1, 0), (int)Corner.TopRight }, { new CVec(1, 0), (int)Corner.TopRight },
{ new CVec(0, 1), (int)Corner.BottomRight }, { new CVec(0, 1), (int)Corner.BottomRight },
{ new CVec(-1, 0), (int)Corner.BottomLeft }, { new CVec(-1, 0), (int)Corner.BottomLeft },
}; };