Fixed some Pyrogen color drawing issues.

This commit is contained in:
mountaindrew10 committed 2023-05-22 10:20:29 -05:00
1 parent 84c347768f
commit dcc38721e1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1205,7 +1205,7 @@ namespace CalamityMod.NPCs.Cryogen
if (NPC.spriteDirection == 1)
spriteEffects = SpriteEffects.FlipHorizontally;
NPC.DrawBackglow(BackglowColor, 4f, spriteEffects, NPC.frame, screenPos);
NPC.DrawBackglow(CalamityWorld.getFixedBoi ? Color.Red : BackglowColor, 4f, spriteEffects, NPC.frame, screenPos);
Vector2 origin = new Vector2(TextureAssets.Npc[NPC.type].Value.Width / 2, TextureAssets.Npc[NPC.type].Value.Height / Main.npcFrameCount[NPC.type] / 2);
Vector2 drawPos = NPC.Center - screenPos;
+1 -1
View File
@@ -131,7 +131,7 @@ namespace CalamityMod.NPCs.Cryogen
{
Texture2D texture = ModContent.Request<Texture2D>("CalamityMod/NPCs/Cryogen/CryogenShield").Value;
NPC.DrawBackglow(Cryogen.BackglowColor, 4f, SpriteEffects.None, NPC.frame, screenPos);
NPC.DrawBackglow(CalamityWorld.getFixedBoi ? Color.Red : Cryogen.BackglowColor, 4f, SpriteEffects.None, NPC.frame, screenPos);
Vector2 origin = new Vector2(TextureAssets.Npc[NPC.type].Value.Width / 2, TextureAssets.Npc[NPC.type].Value.Height / Main.npcFrameCount[NPC.type] / 2);
Vector2 drawPos = NPC.Center - screenPos;