Skip to content

Commit 737fd7c

Browse files
committed
gta: fix incorrectly-swapped network game check
Thanks to @bladecoding for reporting this!
1 parent c0d2605 commit 737fd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ static HookFunction hookFunction([]()
633633
// additional netgame checks for scenarios
634634
hook::nop(hook::get_pattern("B2 04 75 65 80 7B 39", 2), 2);
635635
hook::put<uint8_t>(hook::get_pattern("74 24 84 D2 74 20 8B 83", 4), 0xEB);
636-
hook::nop(hook::get_pattern("84 D2 75 41 8B 83", 2), 2);
636+
hook::put<uint8_t>(hook::get_pattern("84 D2 75 41 8B 83", 0x5F), 0xEB);
637637
//hook::put<uint8_t>(hook::get_pattern("40 B6 01 74 52 F3 0F 10 01", 3), 0xEB); // this skips a world grid check, might be bad!
638638

639639
// another scenario cluster network game check

0 commit comments

Comments
 (0)