diff --git a/Tiles/Furniture/ChaosCandle.cs b/Tiles/Furniture/ChaosCandle.cs index 2a6c8aaae9..e8d55436b1 100644 --- a/Tiles/Furniture/ChaosCandle.cs +++ b/Tiles/Furniture/ChaosCandle.cs @@ -59,7 +59,8 @@ namespace CalamityMod.Tiles.Furniture public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(235, 5, i, j); + if (Main.tile[i, j].frameX < 18) + CalamityUtils.DrawFlameSparks(235, 5, i, j); } public override void PostDraw(int i, int j, SpriteBatch spriteBatch) diff --git a/Tiles/Furniture/TranquilityCandle.cs b/Tiles/Furniture/TranquilityCandle.cs index f1c55286d4..af6f18d820 100644 --- a/Tiles/Furniture/TranquilityCandle.cs +++ b/Tiles/Furniture/TranquilityCandle.cs @@ -59,7 +59,8 @@ namespace CalamityMod.Tiles.Furniture public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(62, 5, i, j); + if (Main.tile[i, j].frameX < 18) + CalamityUtils.DrawFlameSparks(62, 5, i, j); } public override void PostDraw(int i, int j, SpriteBatch spriteBatch) diff --git a/Tiles/FurnitureAbyss/AbyssTorch.cs b/Tiles/FurnitureAbyss/AbyssTorch.cs index ec76fb1868..c28ff30a23 100644 --- a/Tiles/FurnitureAbyss/AbyssTorch.cs +++ b/Tiles/FurnitureAbyss/AbyssTorch.cs @@ -70,7 +70,8 @@ namespace CalamityMod.Tiles.FurnitureAbyss } public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(187, 5, i, j); + if (Main.tile[i, j].frameX < 66) + CalamityUtils.DrawFlameSparks(187, 5, i, j); } public override bool NewRightClick(int i, int j) diff --git a/Tiles/FurnitureAncient/AncientBasin.cs b/Tiles/FurnitureAncient/AncientBasin.cs index 748c8c4a80..4e4f9ac1ab 100644 --- a/Tiles/FurnitureAncient/AncientBasin.cs +++ b/Tiles/FurnitureAncient/AncientBasin.cs @@ -79,7 +79,7 @@ namespace CalamityMod.Tiles.FurnitureAncient public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 18) + if (tile.frameY == 18 && tile.frameX < 54) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureAncient/AncientChandelier.cs b/Tiles/FurnitureAncient/AncientChandelier.cs index 8234044626..69ff43f743 100644 --- a/Tiles/FurnitureAncient/AncientChandelier.cs +++ b/Tiles/FurnitureAncient/AncientChandelier.cs @@ -44,7 +44,7 @@ namespace CalamityMod.Tiles.FurnitureAncient public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameX == 18 && tile.frameY == 36) + if (tile.frameX < 54 && tile.frameY == 36) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureAncient/AncientLamp.cs b/Tiles/FurnitureAncient/AncientLamp.cs index 15c3513f02..c63de59066 100644 --- a/Tiles/FurnitureAncient/AncientLamp.cs +++ b/Tiles/FurnitureAncient/AncientLamp.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Tiles.FurnitureAncient public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 18) + if (tile.frameY == 18 && tile.frameX < 18) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureAncient/AncientLantern.cs b/Tiles/FurnitureAncient/AncientLantern.cs index f6c04585bc..22f7093077 100644 --- a/Tiles/FurnitureAncient/AncientLantern.cs +++ b/Tiles/FurnitureAncient/AncientLantern.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Tiles.FurnitureAncient public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 18) + if (tile.frameY == 18 && tile.frameX < 18) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureAshen/AshenBasin.cs b/Tiles/FurnitureAshen/AshenBasin.cs index 54b0988925..885db098c8 100644 --- a/Tiles/FurnitureAshen/AshenBasin.cs +++ b/Tiles/FurnitureAshen/AshenBasin.cs @@ -80,7 +80,7 @@ namespace CalamityMod.Tiles.FurnitureAshen public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 18) + if (tile.frameY == 18 && tile.frameX < 54) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureAshen/AshenCandelabra.cs b/Tiles/FurnitureAshen/AshenCandelabra.cs index 9225e4dc4b..b0fd790b25 100644 --- a/Tiles/FurnitureAshen/AshenCandelabra.cs +++ b/Tiles/FurnitureAshen/AshenCandelabra.cs @@ -77,7 +77,8 @@ namespace CalamityMod.Tiles.FurnitureAshen public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(60, 5, i, j); + if (Main.tile[i, j].frameX < 35) + CalamityUtils.DrawFlameSparks(60, 5, i, j); } } } diff --git a/Tiles/FurnitureAshen/AshenCandle.cs b/Tiles/FurnitureAshen/AshenCandle.cs index 47b8bd56cb..b2a051ca0b 100644 --- a/Tiles/FurnitureAshen/AshenCandle.cs +++ b/Tiles/FurnitureAshen/AshenCandle.cs @@ -73,7 +73,8 @@ namespace CalamityMod.Tiles.FurnitureAshen public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(60, 5, i, j); + if (Main.tile[i, j].frameX < 18) + CalamityUtils.DrawFlameSparks(60, 5, i, j); } } } diff --git a/Tiles/FurnitureAshen/AshenChandelier.cs b/Tiles/FurnitureAshen/AshenChandelier.cs index 56fb3c82ae..60036b2535 100644 --- a/Tiles/FurnitureAshen/AshenChandelier.cs +++ b/Tiles/FurnitureAshen/AshenChandelier.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Tiles.FurnitureAshen public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 18) + if (tile.frameY == 18 && tile.frameX < 54) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureAshen/AshenLamp.cs b/Tiles/FurnitureAshen/AshenLamp.cs index e6179be5bb..402c59dffe 100644 --- a/Tiles/FurnitureAshen/AshenLamp.cs +++ b/Tiles/FurnitureAshen/AshenLamp.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Tiles.FurnitureAshen public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 0) + if (tile.frameY == 0 && tile.frameX < 18) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureAshen/AshenLantern.cs b/Tiles/FurnitureAshen/AshenLantern.cs index 7ef4799944..97d243117f 100644 --- a/Tiles/FurnitureAshen/AshenLantern.cs +++ b/Tiles/FurnitureAshen/AshenLantern.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Tiles.FurnitureAshen public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 18) + if (tile.frameY == 18 && tile.frameX < 18) { CalamityUtils.DrawFlameSparks(60, 5, i, j); } diff --git a/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs b/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs index 2912fab2db..2912b63572 100644 --- a/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs +++ b/Tiles/FurnitureCosmilite/CosmiliteBasinTile.cs @@ -83,7 +83,7 @@ namespace CalamityMod.Tiles.FurnitureCosmilite public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { Tile tile = Main.tile[i, j]; - if (tile.frameY == 18) + if (tile.frameY == 18 && tile.frameX < 54) { CalamityUtils.DrawFlameSparks((int)CalamityDusts.PurpleCosmilite, 5, i, j); } diff --git a/Tiles/FurnitureProfaned/ProfanedCandelabra.cs b/Tiles/FurnitureProfaned/ProfanedCandelabra.cs index 00de7fe7b3..8ba459625d 100644 --- a/Tiles/FurnitureProfaned/ProfanedCandelabra.cs +++ b/Tiles/FurnitureProfaned/ProfanedCandelabra.cs @@ -64,7 +64,8 @@ namespace CalamityMod.Tiles.FurnitureProfaned public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(246, 5, i, j); + if (Main.tile[i, j].frameX < 35) + CalamityUtils.DrawFlameSparks(246, 5, i, j); } } } diff --git a/Tiles/FurnitureProfaned/ProfanedCandle.cs b/Tiles/FurnitureProfaned/ProfanedCandle.cs index 4946095dbd..3087e8d025 100644 --- a/Tiles/FurnitureProfaned/ProfanedCandle.cs +++ b/Tiles/FurnitureProfaned/ProfanedCandle.cs @@ -74,7 +74,8 @@ namespace CalamityMod.Tiles.FurnitureProfaned public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(246, 5, i, j); + if (Main.tile[i, j].frameX < 18) + CalamityUtils.DrawFlameSparks(246, 5, i, j); } } } diff --git a/Tiles/FurnitureProfaned/ProfanedLamp.cs b/Tiles/FurnitureProfaned/ProfanedLamp.cs index bce7c22619..347fdb75d9 100644 --- a/Tiles/FurnitureProfaned/ProfanedLamp.cs +++ b/Tiles/FurnitureProfaned/ProfanedLamp.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Tiles.FurnitureProfaned public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - if (Main.tile[i, j].frameY == 0) + if (Main.tile[i, j].frameY == 0 && Main.tile[i, j].frameX < 18) { CalamityUtils.DrawFlameSparks(246, 5, i, j); } diff --git a/Tiles/FurnitureProfaned/ProfanedLantern.cs b/Tiles/FurnitureProfaned/ProfanedLantern.cs index a4f836b7cf..5f9f70084d 100644 --- a/Tiles/FurnitureProfaned/ProfanedLantern.cs +++ b/Tiles/FurnitureProfaned/ProfanedLantern.cs @@ -65,7 +65,8 @@ namespace CalamityMod.Tiles.FurnitureProfaned public override void DrawEffects(int i, int j, SpriteBatch spriteBatch, ref Color drawColor, ref int nextSpecialDrawIndex) { - CalamityUtils.DrawFlameSparks(246, 5, i, j); + if (Main.tile[i, j].frameX < 18) + CalamityUtils.DrawFlameSparks(246, 5, i, j); } } }