Fixed Gruesome Eminence rotation issues in MP
This commit is contained in:
1 parent
bfaaf22c0b
commit
6fa6dea151
1 file changed
+2
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user