Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(input/five): fix crash on b2372
  • Loading branch information
Disquse authored and blattersturm committed Jul 28, 2021
1 parent d6ebc04 commit 5da59f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/components/gta-core-five/src/GameInput.cpp
Expand Up @@ -1187,7 +1187,7 @@ static HookFunction hookFunction([]()
// hacks for unknown array
{
auto location = hook::get_pattern<char>("48 8D 0D ? ? ? ? 44 38 34 08", 7);
hook::nop(location, 4 + 6);
hook::nop(location, 4 + (xbr::IsGameBuildOrGreater<2372>() ? 2 : 6));
}

{
Expand Down

0 comments on commit 5da59f5

Please sign in to comment.