diff --git a/NPCs/Other/ExhumedHeart.cs b/NPCs/Other/ExhumedHeart.cs index f371b6de20..9a29e255f7 100644 --- a/NPCs/Other/ExhumedHeart.cs +++ b/NPCs/Other/ExhumedHeart.cs @@ -11,7 +11,6 @@ namespace CalamityMod.NPCs.Other { public class ExhumedHeart : ModNPC { - public PrimitiveTrail ChainDrawer = null; public ref float Time => ref npc.ai[0]; public Player Owner { @@ -80,23 +79,6 @@ namespace CalamityMod.NPCs.Other return Color.Lerp(Color.DarkRed * 0.7f, Color.Red, colorInterpolant) * 0.425f; } - public override bool PreDraw(SpriteBatch spriteBatch, Color drawColor) - { - if (ChainDrawer is null) - ChainDrawer = new PrimitiveTrail(PrimitiveWidthFunction, PrimitiveColorFunction); - - if (npc.Center == Owner.Center) - return true; - - List points = new List() - { - npc.Center, - Owner.Center - }; - ChainDrawer.Draw(points, -Main.screenPosition, 40); - return true; - } - public override void FindFrame(int frameHeight) { npc.frameCounter++;