Fixed some Pyrogen color drawing issues.
This commit is contained in:
1 parent
84c347768f
commit
dcc38721e1
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user