Quick fix for banana cheat not showing all unlockables

Plus, this is generally better, as a mod could let you unlock stuff "out-of-order"
This commit is contained in:
TehRealSalt 2018-10-15 22:02:10 -04:00
parent 001e2aa42c
commit 8024ad74b5

View file

@ -5096,7 +5096,7 @@ static void M_DrawChecklist(void)
{ {
if (unlockables[i].name[0] == 0 || unlockables[i].nochecklist if (unlockables[i].name[0] == 0 || unlockables[i].nochecklist
|| !unlockables[i].conditionset || unlockables[i].conditionset > MAXCONDITIONSETS || !unlockables[i].conditionset || unlockables[i].conditionset > MAXCONDITIONSETS
|| !M_Achieved(unlockables[i].showconditionset - 1)) || (!M_Achieved(unlockables[i].showconditionset - 1) && !unlockables[i].unlocked))
continue; continue;
++line; ++line;