This PR aims to fix a bug where 32-bit component indices were clamped to 8 bits in ped component expression mods related functions, which was breaking expression mods on components with indices greater than 255.
How is this PR achieving the goal
This goal is achieved by patching certain functions to prevent them from clamping component indices to 8 bits.
Goal of this PR
This PR aims to fix a bug where 32-bit component indices were clamped to 8 bits in ped component expression mods related functions, which was breaking expression mods on components with indices greater than 255.
How is this PR achieving the goal
This goal is achieved by patching certain functions to prevent them from clamping component indices to 8 bits.
This PR applies to the following area(s)
FiveM
Successfully tested on
Game builds: 1604, 2060, 2189, 2372, 2545, 2612, 2699, 2802, 2944, 3095
Platforms: Windows
Checklist
Fixes issues
Addresses the problem reported in this forum topic: https://forum.cfx.re/t/increase-255-limit-for-ped-heel-height/5229225