snow ruffian should not let minecarts glide
This commit is contained in:
1 parent
35e85d5c58
commit
ed4de4c66e
1 file changed
+5
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user