Browse Source

proper flying check for speed calculation

lakebane2
FatBoy-DOTC 2 weeks ago
parent
commit
20bd7a82af
  1. 2
      src/engine/objects/PlayerCharacter.java

2
src/engine/objects/PlayerCharacter.java

@ -2895,7 +2895,7 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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 {

Loading…
Cancel
Save