mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00
fix(FrameFlags): Check for nullptr on m_player_info
This commit is contained in:
parent
1da220de11
commit
a25f3ecd99
@ -13,7 +13,7 @@ namespace big
|
|||||||
|
|
||||||
void looped::self_frame_flags()
|
void looped::self_frame_flags()
|
||||||
{
|
{
|
||||||
if (g_local_player == nullptr) return;
|
if (g_local_player == nullptr || g_local_player->m_player_info == nullptr) return;
|
||||||
|
|
||||||
uint32_t& flags = g_local_player->m_player_info->m_frame_flags;
|
uint32_t& flags = g_local_player->m_player_info->m_frame_flags;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user