Skip to content

Commit bed839d

Browse files
author
Manzarek
committed
feat(gta-streaming-five): Background minimap overlays
1 parent 0c098da commit bed839d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/components/gta-streaming-five/src/ScaleformHacks.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static HookFunction hookFunction([]()
337337
// SetupFreeways
338338
auto location = hook::get_pattern<char>("74 3B E8 ? ? ? ? 33 C9 E8", 0x2C);
339339

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

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

0 commit comments

Comments
 (0)