chore: Fixes variable types for possible performance issues (#2172)
This commit is contained in:
parent
6d43f2549c
commit
da517f56c4
82 changed files with 332 additions and 343 deletions
|
|
@ -163,8 +163,8 @@ namespace Server.Engines.Doom
|
|||
|
||||
public static BaseDoor CreateDoorSet(int xDoor, int yDoor, bool doorEastToWest, int hue)
|
||||
{
|
||||
BaseDoor hiDoor = new MetalDoor(doorEastToWest ? DoorFacing.NorthCCW : DoorFacing.WestCW);
|
||||
BaseDoor loDoor = new MetalDoor(doorEastToWest ? DoorFacing.SouthCW : DoorFacing.EastCCW);
|
||||
var hiDoor = new MetalDoor(doorEastToWest ? DoorFacing.NorthCCW : DoorFacing.WestCW);
|
||||
var loDoor = new MetalDoor(doorEastToWest ? DoorFacing.SouthCW : DoorFacing.EastCCW);
|
||||
|
||||
hiDoor.MoveToWorld(new Point3D(xDoor, yDoor, -1), Map.Malas);
|
||||
loDoor.MoveToWorld(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue