From 49a34f5789238c451e2cfe1dbd3c9b88f121666c Mon Sep 17 00:00:00 2001 From: gir489 <100792176+gir489returns@users.noreply.github.com> Date: Sun, 14 Jul 2024 11:10:40 -0400 Subject: [PATCH] Closes #3345 (#3346) --- src/hooks/misc/add_gamer_to_session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/misc/add_gamer_to_session.cpp b/src/hooks/misc/add_gamer_to_session.cpp index 4d55b895..f21aa6a2 100644 --- a/src/hooks/misc/add_gamer_to_session.cpp +++ b/src/hooks/misc/add_gamer_to_session.cpp @@ -14,7 +14,7 @@ namespace big && info->m_gamer_info.m_gamer_handle.m_rockstar_id == g_player_service->get_self()->get_rockstar_id()) { info->m_gamer_info.m_host_token = g.session.original_host_token; - info->m_gamer_info.m_peer_id = (info->m_gamer_info.m_peer_id & 0xFFFFFFFF) | (g.session.original_host_token << 32); // TODO: P2pSecurity info message + info->m_gamer_info.m_peer_id = (info->m_gamer_info.m_peer_id & 0xFFFFFFFF) | (g.session.original_host_token & 0xFFFFFFFF00000000); // TODO: P2pSecurity info message } return g_hooking->get_original()(mgr, msg_id, req_id, info, flags, a6);