From d5523beaf911ae6ba68e424e5bfff8be797fecc6 Mon Sep 17 00:00:00 2001 From: Dominic Date: Fri, 1 Oct 2021 10:58:21 -0500 Subject: [PATCH] Fixed Gamma Head direction rotation issues --- Projectiles/Summon/GammaHead.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Projectiles/Summon/GammaHead.cs b/Projectiles/Summon/GammaHead.cs index d989b40b4b..0574ead5ae 100644 --- a/Projectiles/Summon/GammaHead.cs +++ b/Projectiles/Summon/GammaHead.cs @@ -150,6 +150,9 @@ namespace CalamityMod.Projectiles.Summon // Direction affecting. if (target.Center.X - spawnPosition.X < 0) fireAngle += MathHelper.Pi; + if (projectile.direction == (target.Center.X < spawnPosition.X).ToDirectionInt()) + fireAngle += MathHelper.Pi; + idealRotation = fireAngle; // Shoot the actual canister.