mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fixed jumpstart modheight not working on AA
This commit is contained in:
parent
0d851fdb68
commit
6b4a8bd627
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue