From 744596bb7aff90e8b0ae97df4e861c3a32797278 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Thu, 13 Oct 2022 19:56:21 -0400 Subject: [PATCH] rotation fix --- Projectiles/Summon/Umbrella/MagicRifle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projectiles/Summon/Umbrella/MagicRifle.cs b/Projectiles/Summon/Umbrella/MagicRifle.cs index 5cd4990ba8..b367d8b0ff 100644 --- a/Projectiles/Summon/Umbrella/MagicRifle.cs +++ b/Projectiles/Summon/Umbrella/MagicRifle.cs @@ -237,7 +237,7 @@ namespace CalamityMod.Projectiles.Summon.Umbrella playerVec.Normalize(); playerVec *= playerHomeSpeed; Projectile.velocity = (Projectile.velocity * 10f + playerVec) / 11f; - Projectile.rotation = Projectile.velocity.ToRotation() + MathHelper.PiOver4; + Projectile.rotation = Projectile.velocity.ToRotation() + (Projectile.spriteDirection == 1 ? MathHelper.ToRadians(-135f) : MathHelper.ToRadians(-45f)); } else {