fix: don't randomize components if we're cloning an existing ped (#2663)

This commit is contained in:
maybegreat48
2024-01-28 14:51:25 +00:00
committed by GitHub
parent 96048fa0f6
commit 1e11d83f7a
3 changed files with 20 additions and 21 deletions

View File

@ -134,7 +134,9 @@ namespace big
PED::SET_PED_ID_RANGE(ped, 200.0f);
PED::SET_PED_FIRING_PATTERN(ped, RAGE_JOAAT("FIRING_PATTERN_FULL_AUTO"));
PED::SET_PED_SHOOT_RATE(ped, 150);
ped::set_ped_random_component_variation(ped);
if (!clone)
ped::set_ped_random_component_variation(ped);
if (is_bodyguard)
{