Fix IDE0055
This rule no longer appears to be buggy, so enforce it. Some of the automated fixes are adjusted in order to improve the result. #pragma directives have no option to control indentation, so remove them where possible.
This commit is contained in:
committed by
Pavel Penev
parent
60cbf79c9b
commit
360f24f609
@@ -119,10 +119,10 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
||||
var rx = mf.ReadUInt16();
|
||||
var ry = mf.ReadUInt16();
|
||||
var tilenum = mf.ReadUInt16();
|
||||
/*var zero1 = */mf.ReadInt16();
|
||||
mf.ReadInt16(); // zero1
|
||||
var subtile = mf.ReadUInt8();
|
||||
var z = mf.ReadUInt8();
|
||||
/*var zero2 = */mf.ReadUInt8();
|
||||
mf.ReadUInt8(); // zero2
|
||||
|
||||
var uv = ToMPos(rx, ry, fullSize.X);
|
||||
|
||||
|
||||
@@ -115,8 +115,8 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
||||
|
||||
var templateWidth = s.ReadUInt32();
|
||||
var templateHeight = s.ReadUInt32();
|
||||
/* var tileWidth = */s.ReadInt32();
|
||||
/* var tileHeight = */s.ReadInt32();
|
||||
s.ReadInt32(); // tileWidth
|
||||
s.ReadInt32(); // tileHeight
|
||||
var offsets = new uint[templateWidth * templateHeight];
|
||||
for (var j = 0; j < offsets.Length; j++)
|
||||
offsets[j] = s.ReadUInt32();
|
||||
|
||||
Reference in New Issue
Block a user