Fixes implicit array initializers

This commit is contained in:
Kamron Batman 2018-09-14 13:14:20 -07:00
parent 7d3a0ca265
commit fee83ce560
189 changed files with 440 additions and 808 deletions

View file

@ -400,8 +400,7 @@ namespace Server.Engines.ConPVP
}
#region Offsets & Rotation
private static Point2D[] m_EdgeOffsets = new[]
{
private static Point2D[] m_EdgeOffsets = {
/*
* /\
* /\/\
@ -423,8 +422,7 @@ namespace Server.Engines.ConPVP
};
// nw corner
private static Point2D[] m_CornerOffsets = new[]
{
private static Point2D[] m_CornerOffsets = {
/*
* /\
* /\/\
@ -444,8 +442,7 @@ namespace Server.Engines.ConPVP
new Point2D( 3, 0 )
};
private static int[][,] m_Rotate = new[]
{
private static int[][,] m_Rotate = {
new[,]{ { +1, 0 }, { 0, +1 } }, // west
new[,]{ { -1, 0 }, { 0, -1 } }, // east
new[,]{ { 0, +1 }, { +1, 0 } }, // north