Permit M_CheckNetUnlockByID if conditionset is zeroed

This commit is contained in:
toaster 2022-12-13 22:20:06 +00:00
parent 7081ffd509
commit 5bb149c47a

View file

@ -999,7 +999,8 @@ UINT8 M_CompletionEmblems(void) // Bah! Duplication sucks, but it's for a separa
boolean M_CheckNetUnlockByID(UINT8 unlockid)
{
if (unlockid >= MAXUNLOCKABLES)
if (unlockid >= MAXUNLOCKABLES
|| !unlockables[unlockid].conditionset)
{
return true; // default permit
}