We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b7fcc7 commit a5a53b4Copy full SHA for a5a53b4
src/hooks_misc.cpp
@@ -12,10 +12,11 @@ class RandomHighwayAnimSets : public Hook
12
static void GetBranchRenditionType_dest(SafetyHookContext& ctx)
13
{
14
constexpr int br_step_tbl_Count = 15;
15
+ constexpr int UniqueSetCount = 4;
16
17
std::random_device rd;
18
std::mt19937 g(rd());
- std::uniform_int_distribution<> distrib(0, br_step_tbl_Count - 1);
19
+ std::uniform_int_distribution<> distrib(0, UniqueSetCount - 1);
20
21
ctx.eax = int(distrib(g));
22
spdlog::debug("GetBranchRenditionType_dest: using set {}", int(ctx.eax));
0 commit comments