rotation fix

This commit is contained in:
ben-tk committed 2022-10-13 19:56:21 -04:00
1 parent 6e19f3c83c
commit 744596bb7a
1 file changed
+1 -1
+1 -1
View File
@@ -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
{