1 - Added a region.
2 - Fixed an issue in TilePlacementHelpers.cs where oldWalls was declared twice and causing an error.
This commit is contained in:
1 parent
282fac9fa4
commit
caaa598b73
2 files changed
+2
-1
No files matched your search
@@ -5667,6 +5667,7 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Buff Town NPC
|
||||
public override void BuffTownNPC(ref float damageMult, ref int defense)
|
||||
{
|
||||
if (NPC.downedMoonlord)
|
||||
@@ -5700,6 +5701,7 @@ namespace CalamityMod.NPCs
|
||||
defense += 20;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Shop Stuff
|
||||
public override void SetupShop(int type, Chest shop, ref int nextSlot)
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace CalamityMod.Schematics
|
||||
{
|
||||
PilePlacementMaps.TryGetValue(mapKey, out PilePlacementFunction pilePlacementFunction);
|
||||
Tile[,] tiles = TileMaps[mapKey];
|
||||
ushort[,] oldWalls = new ushort[tiles.GetLength(0), tiles.GetLength(1)];
|
||||
int xOffset = placementPosition.X;
|
||||
int yOffset = placementPosition.Y;
|
||||
// Top-left is the default for terraria. There is no need to include it in this switch.
|
||||
|
||||
Reference in new issue
Block a user