Fixed Gamma Head direction rotation issues
This commit is contained in:
1 parent
7451e9294a
commit
d5523beaf9
1 file changed
+3
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user