fix prims on haunted chum not showing

This commit is contained in:
GinYuH authored and Cameron Ewell committed 2024-07-30 18:27:16 -04:00
1 parent 82eed4e310
commit 62ee1a90ef
1 file changed
+2 -2
+2 -2
View File
@@ -254,8 +254,8 @@ namespace CalamityMod.NPCs.SunkenSea
}
}
PrimitiveRenderer.RenderTrail(points, new(WidthFunction, ColorFunction, (_) => -Main.screenPosition), 75);
PrimitiveRenderer.RenderTrail(points, new(BackgroundWidthFunction, BackgroundColorFunction, (_) => -Main.screenPosition), 75);
PrimitiveRenderer.RenderTrail(points, new(BackgroundWidthFunction, BackgroundColorFunction), 75);
PrimitiveRenderer.RenderTrail(points, new(WidthFunction, ColorFunction), 75);
NPC body = Main.npc[(int)NPC.ai[3]];
// Draw a chain of bones