mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
CConsole::LoadFlagIcons: Break out on failure
This commit is contained in:
parent
617b7b1948
commit
096091e56f
@ -777,7 +777,10 @@ bool CConsole::LoadFlagIcons(void)
|
||||
static_cast<int>(rFlagIcon.m_nSize), &rFlagIcon.m_idIcon, &rFlagIcon.m_nWidth, &rFlagIcon.m_nHeight);
|
||||
|
||||
IM_ASSERT(ret);
|
||||
NOTE_UNUSED(ret);
|
||||
if (!ret)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user