Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue