snow ruffian should not let minecarts glide

This commit is contained in:
ben-tk authored and Cameron Ewell committed 2021-11-12 13:02:51 -05:00
1 parent 35e85d5c58
commit ed4de4c66e
1 file changed
+5 -2
+5 -2
View File
@@ -7064,8 +7064,11 @@ namespace CalamityMod.CalPlayer
bool falling = player.gravDir == -1 ? player.velocity.Y < 0.05f : player.velocity.Y > 0.05f;
if (player.controlJump && falling)
{
player.velocity.Y *= 0.9f;
player.wingFrame = 3;
if (!player.mount.Active)
{
player.velocity.Y *= 0.9f;
player.wingFrame = 3;
}
player.noFallDmg = true;
player.fallStart = (int)(player.position.Y / 16f);
}