diff --git a/Tiles/SunkenSea/EutrophicGlass.cs b/Tiles/SunkenSea/EutrophicGlass.cs index 16a82ff85c..f9cbd7ed88 100644 --- a/Tiles/SunkenSea/EutrophicGlass.cs +++ b/Tiles/SunkenSea/EutrophicGlass.cs @@ -21,6 +21,7 @@ namespace CalamityMod.Tiles.SunkenSea Main.tileLighted[Type] = true; Main.tileShine2[Type] = false; TileID.Sets.ChecksForMerge[Type] = true; + TileID.Sets.WallsMergeWith[Type] = true; DustType = 108; ItemDrop = ModContent.ItemType(); ModTranslation name = CreateMapEntryName(); @@ -34,15 +35,6 @@ namespace CalamityMod.Tiles.SunkenSea { num = fail ? 1 : 3; } - - public override void AnimateIndividualTile(int type, int i, int j, ref int frameXOffset, ref int frameYOffset) - { - int xPos = i % 10; - int yPos = j % 10; - frameXOffset = xPos * sheetWidth; - frameYOffset = yPos * sheetHeight; - } - public override void PostDraw(int i, int j, SpriteBatch spriteBatch) { float transparency = 0.60f; diff --git a/Tiles/SunkenSea/EutrophicGlass.png b/Tiles/SunkenSea/EutrophicGlass.png index 233f360214..f93ee6a89c 100644 Binary files a/Tiles/SunkenSea/EutrophicGlass.png and b/Tiles/SunkenSea/EutrophicGlass.png differ diff --git a/Utilities/TileFraming.cs b/Utilities/TileFraming.cs index a9d44cc71b..d6dfa351eb 100644 --- a/Utilities/TileFraming.cs +++ b/Utilities/TileFraming.cs @@ -1256,8 +1256,11 @@ namespace CalamityMod Main.spriteBatch.Draw(texture, drawPos, TileFrame, drawColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f); } drawPos = new Vector2(i * 16, j * 16) + offsets; - TileFrame = new Rectangle(TileFrameX, TileFrameY, 16, 2); - Main.spriteBatch.Draw(texture, drawPos, TileFrame, drawColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f); + if (tile.TileType != ModContent.TileType()) + { + TileFrame = new Rectangle(TileFrameX, TileFrameY, 16, 2); + Main.spriteBatch.Draw(texture, drawPos, TileFrame, drawColor, 0f, Vector2.Zero, 1f, SpriteEffects.None, 0.0f); + } } } }