Clean up: Bugs, LINQ, constructors, default values, and null checks (#18)
This commit is contained in:
parent
e748af4430
commit
513e54f70e
1094 changed files with 15913 additions and 21892 deletions
|
|
@ -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
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue