fix: online crash (#518)

This commit is contained in:
Yimura 2022-10-25 22:21:36 +02:00 committed by GitHub
parent 858776370b
commit e4ea624e79
2 changed files with 2 additions and 5 deletions

View File

@ -37,10 +37,7 @@ namespace big::gta_util
inline Network* get_network()
{
__int64 network = (__int64)(*g_pointers->m_network);
if (g_is_steam)
network += sizeof(rage::rlSessionInfo);
return (Network*)network;
return *g_pointers->m_network;
}
template <typename F, typename ...Args>

2
vendor/GTAV-Classes vendored

@ -1 +1 @@
Subproject commit 43744999f6e42e3c24fbaf03153143273e0ad817
Subproject commit b37965211e80eb23be9a2bdb1bc58072defebcb0