Clean up: Bugs, LINQ, constructors, default values, and null checks (#18)

This commit is contained in:
Kamron Batman 2019-03-11 14:29:59 -07:00 • committed by GitHub
parent e748af4430
commit 513e54f70e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1094 changed files with 15913 additions and 21892 deletions

View file

@ -106,12 +106,7 @@ namespace Server.Items
private InternalItem m_Item;
[Constructible]
public AnkhWest() : this(false)
{
}
[Constructible]
public AnkhWest(bool bloodied) : base(bloodied ? 0x1D98 : 0x3)
public AnkhWest(bool bloodied = false) : base(bloodied ? 0x1D98 : 0x3)
{
Movable = false;
@ -281,12 +276,7 @@ namespace Server.Items
private InternalItem m_Item;
[Constructible]
public AnkhNorth() : this(false)
{
}
[Constructible]
public AnkhNorth(bool bloodied) : base(bloodied ? 0x1E5D : 0x4)
public AnkhNorth(bool bloodied = false) : base(bloodied ? 0x1E5D : 0x4)
{
Movable = false;
@ -452,4 +442,4 @@ namespace Server.Items
}
}
}
}
}