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:
Andrew Marheine committed 2020-07-21 21:50:13 -05:00
1 parent 282fac9fa4
commit caaa598b73
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -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)
-1
View File
@@ -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.