Removed framing code that proved to be useless

This commit is contained in:
mountaindrew10 committed 2024-05-15 23:00:47 -05:00
1 parent 7f9f529621
commit 4c151d2107
1 file changed
-8
-8
View File
@@ -6950,14 +6950,6 @@ namespace CalamityMod.NPCs
if (npc.spriteDirection == 1)
spriteEffects = SpriteEffects.FlipHorizontally;
/*if (npc.type == NPCID.TheDestroyerBody)
{
if (npc.ai[2] == 0f)
npc.frame.Y = 0;
else
npc.frame.Y = frameHeight;
}*/
Color segmentDrawColor = npc.GetAlpha(drawColor);
// Check if Destroyer is behind tiles and, if so, how much of the segment is behind tiles and adjust color accordingly