Code Cleanup & Fixes Warnings (#74)
This commit is contained in:
parent
e11d1f3ad9
commit
57b14ad690
143 changed files with 2960 additions and 3427 deletions
|
|
@ -300,8 +300,7 @@ namespace Server.Multis
|
|||
|
||||
public void AddFixtures(Mobile from, MultiTileEntry[] list)
|
||||
{
|
||||
if (Fixtures == null)
|
||||
Fixtures = new List<Item>();
|
||||
Fixtures ??= new List<Item>();
|
||||
|
||||
uint keyValue = 0;
|
||||
|
||||
|
|
@ -530,7 +529,6 @@ namespace Server.Multis
|
|||
switch (door.Facing)
|
||||
{
|
||||
default:
|
||||
case DoorFacing.WestCW:
|
||||
linkFacing = DoorFacing.EastCCW;
|
||||
xOffset = 1;
|
||||
yOffset = 0;
|
||||
|
|
@ -618,7 +616,6 @@ namespace Server.Multis
|
|||
switch (type)
|
||||
{
|
||||
default:
|
||||
case FoundationType.DarkWood:
|
||||
corner = 0x0014;
|
||||
east = 0x0015;
|
||||
south = 0x0016;
|
||||
|
|
@ -1284,7 +1281,6 @@ namespace Server.Multis
|
|||
switch (dir)
|
||||
{
|
||||
default:
|
||||
case 0: // North
|
||||
{
|
||||
xStart = x;
|
||||
yStart = y + height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue