Skip to content

Commit

Permalink
feat(gta-streaming-five): Background minimap overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
Manzarek committed Mar 11, 2025
1 parent 0c098da commit bed839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/components/gta-streaming-five/src/ScaleformHacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ static HookFunction hookFunction([]()
// SetupFreeways
auto location = hook::get_pattern<char>("74 3B E8 ? ? ? ? 33 C9 E8", 0x2C);

g_backgroundOverlay3D = hook::get_address<decltype(g_backgroundOverlay3D)>(hook::get_call(location) + (xbr::IsGameBuildOrGreater<2372>() ? 0x18 : 0x1C));
g_backgroundOverlay3D = hook::get_address<decltype(g_backgroundOverlay3D)>(hook::get_call(location) + 0x18);

// SetupTerritories
location = hook::get_pattern<char>("74 3B E8 ? ? ? ? 33 C9 E8", 0x31);
Expand Down

0 comments on commit bed839d

Please sign in to comment.