Fixed Gruesome Eminence rotation issues in MP

This commit is contained in:
Dominic authored and Cameron Ewell committed 2022-01-15 19:21:32 -05:00
1 parent bfaaf22c0b
commit 6fa6dea151
1 file changed
+2 -1
+2 -1
View File
@@ -115,6 +115,8 @@ namespace CalamityMod.Projectiles.Magic
}
}
projectile.rotation = projectile.velocity.ToRotation();
// Handle dynamic damage.
if (BaseDamage == 0f)
BaseDamage = projectile.damage;
@@ -198,7 +200,6 @@ namespace CalamityMod.Projectiles.Magic
// Approach the ideal velocity.
projectile.velocity = projectile.velocity.MoveTowards(idealVelocity, MovementSpeed * 0.04f);
projectile.velocity = (projectile.velocity * (inertia - 1f) + idealVelocity) / inertia;
projectile.rotation = projectile.velocity.ToRotation();
}
public void ReleaseSmallSpirits()