fix(FrameFlags): Check for nullptr on m_player_info

This commit is contained in:
Yimura 2021-07-28 00:30:18 +02:00
parent 627d9a5f81
commit 2f16fe594c

View File

@ -13,7 +13,7 @@ namespace big
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;