Skip to content

Commit 35793c8

Browse files
committed
Fix RandomizePeds config option not working
1 parent 4e281de commit 35793c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/streaming.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public:
8888
Initialise (bool peds, bool vehs)
8989
{
9090
sm_RandomizePeds = peds ? true : sm_RandomizePeds;
91-
sm_RandomizeVehs = peds ? true : sm_RandomizeVehs;
91+
sm_RandomizeVehs = vehs ? true : sm_RandomizeVehs;
9292

9393
if (peds || vehs)
9494
{

src/peds/peds.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class PedRandomizer
196196
OPTION (EnableAnimalMotionFixes), OPTION (EnableAnimalFixes),
197197
OPTION (EnablePlayerFixes), OPTION (EnableMainFixes),
198198
OPTION (EnableNoLowBudget), OPTION (EnableBlipsAlwaysVisible),
199-
OPTION (OddsOfPlayerModels)))
199+
OPTION (OddsOfPlayerModels), OPTION (RandomizePeds)))
200200
return;
201201

202202
if (PR::Config ().ForcedPed.size ())

0 commit comments

Comments
 (0)