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);