Unde-R
Unde-R
I added `MOVEMENTSTATE_ROLL` because It was declared but no code for It. - [x] crouch-roll - [x] crawl-roll Result: [`https://pastebin.com/vz4zQb3D`](https://pastebin.com/vz4zQb3D)
Looks like this issue should be fixed too #534
Thanks for the help! Tested It's working fine now.
> The suggested code I provided is not correct. Please read [#1603 (comment)](https://github.com/multitheftauto/mtasa-blue/pull/1603#discussion_r467206465) `return (vecPosition.fZ > fGroundLevel && (vecPosition.fZ - fGroundLevel - 1.0f)
> ```c++ > // We don't care if the ped is underground > if (definitelyGreaterThan(vecPosition.fZ, fGroundLevel)) > return false; > > // Check (vecPosition.fZ - fGroundLevel) return definitelyLessThan(vecPosition.fZ - fGroundLevel,...
> ```c++ // We don't care if the ped is underground if (definitelyGreaterThan(vecPosition.fZ, fGroundLevel)) return false; ``` > Looks like It's because of this.
Yeah I'll update it soon. What about crouch-roll should I keep it here or make another PR for it?
> Good idea I'll open a PR rn
> I don't think 1594 is fixed by this PR (based on the video above). Why is it returning false for move state when the move state is supposed to...
> I don't think 1594 is fixed by this PR (based on the video above). Why is it returning false for move state when the move state is supposed to...