Fixed jumpstart modheight not working on AA

This commit is contained in:
smallmodel 2024-01-02 23:32:06 +01:00
parent 0d851fdb68
commit 6b4a8bd627
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -8085,7 +8085,9 @@ void Player::ModifyHeight(Event *ev)
maxs.z = 94.0f;
m_bHasJumped = false;
} else if (!height.icmp("jumpstart")) {
//viewheight = JUMP_START_VIEWHEIGHT;
if (g_protocol < protocol_e::PROTOCOL_MOHTA_MIN) {
viewheight = JUMP_START_VIEWHEIGHT;
}
maxs.z = 94.0f;
} else if (!height.icmp("duck")) {
viewheight = CROUCH_VIEWHEIGHT;