Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -62,8 +62,7 @@ namespace Server.Gumps
|
|||
public int LocNumber => m_Num;
|
||||
}
|
||||
|
||||
private static PolymorphCategory[] Categories = new[]
|
||||
{
|
||||
private static PolymorphCategory[] Categories = {
|
||||
new PolymorphCategory( 1015235, // Animals
|
||||
PolymorphEntry.Chicken,
|
||||
PolymorphEntry.Dog,
|
||||
|
|
@ -155,8 +154,7 @@ namespace Server.Gumps
|
|||
|
||||
public class NewPolymorphGump : Gump
|
||||
{
|
||||
private static readonly PolymorphEntry[] m_Entries = new[]
|
||||
{
|
||||
private static readonly PolymorphEntry[] m_Entries = {
|
||||
PolymorphEntry.Chicken,
|
||||
PolymorphEntry.Dog,
|
||||
PolymorphEntry.Wolf,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue