From 20bd7a82af51757c613502edeb4b1290b6bb4f4e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 4 Jan 2025 13:12:44 -0600 Subject: [PATCH] proper flying check for speed calculation --- src/engine/objects/PlayerCharacter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 4c1d0971..bed68df4 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -2895,7 +2895,7 @@ public class PlayerCharacter extends AbstractCharacter { float speed; - if (this.getAltitude() > 0) + if (this.isFlying()) if (this.walkMode) { speed = race.getRaceType().getRunSpeed().getFlyWalk(); } else {