diff --git a/BunnymodXT/hud_custom.cpp b/BunnymodXT/hud_custom.cpp index 581db2e8..1304beaa 100644 --- a/BunnymodXT/hud_custom.cpp +++ b/BunnymodXT/hud_custom.cpp @@ -624,7 +624,7 @@ namespace CustomHud if ((player.velocity[2] != 0.0f && prevVel[2] == 0.0f) || (player.velocity[2] > 0.0f && prevVel[2] < 0.0f)) { - double difference = length(player.velocity[0], player.velocity[1]) - jumpSpeed; + double difference = length(prevVel[0], prevVel[1]) - jumpSpeed; if (difference != 0.0f) { if (difference > 0.0f)