From 4cc8d4dfcef4ae71ccb9b7afbe2e563db0ac04bf Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Thu, 18 Aug 2022 00:07:55 -0400 Subject: [PATCH] fixed galaxia (kinda ish) --- Items/Weapons/Melee/FourSeasonsGalaxia.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Items/Weapons/Melee/FourSeasonsGalaxia.cs b/Items/Weapons/Melee/FourSeasonsGalaxia.cs index c8423000a7..182b33602f 100644 --- a/Items/Weapons/Melee/FourSeasonsGalaxia.cs +++ b/Items/Weapons/Melee/FourSeasonsGalaxia.cs @@ -298,14 +298,16 @@ namespace CalamityMod.Items.Weapons.Melee int currentFrame = ((int)Math.Floor(Main.GlobalTimeWrappedHourly * 15f)) % 7; Rectangle animFrame = new Rectangle(0, 128 * currentFrame, 126, 126); - spriteBatch.End(); - Main.spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.NonPremultiplied, null, null, null, null, Main.UIScaleMatrix); + // I don't think the special visuals can be salvaged without ruining the item offset :( + // Or at least, I spent over an hour trying to fix it with no results + + /*spriteBatch.End(); + Main.spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.NonPremultiplied, null, null, null, null, Main.UIScaleMatrix);*/ spriteBatch.Draw(outlineTexture, Item.Center - Main.screenPosition, animFrame, lightColor, rotation, Item.Size * 0.5f, scale, SpriteEffects.None, 0f); - spriteBatch.End(); - Main.spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, Main.UIScaleMatrix); - + /*spriteBatch.End(); + Main.spriteBatch.Begin(SpriteSortMode.Deferred, null, null, null, null, null, Main.UIScaleMatrix);*/ spriteBatch.Draw(itemTexture, Item.Center - Main.screenPosition, animFrame, lightColor, rotation, Item.Size * 0.5f, scale, SpriteEffects.None, 0f); return false;