From 0211bed1ebcc16e122d809a39ab993a824c477bc Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 11 Dec 2022 16:14:12 +0000 Subject: [PATCH] Fix the condition for non-net unlock check with M_SecretUnlocked to not trip if the host has it unlocked --- src/m_cond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_cond.c b/src/m_cond.c index 59e753109..b8d3c7066 100644 --- a/src/m_cond.c +++ b/src/m_cond.c @@ -756,7 +756,7 @@ boolean M_SecretUnlocked(INT32 type, boolean local) if (unlockables[i].type != type) continue; if ((local && gamedata->unlocked[i]) - || M_CheckNetUnlockByID(i)) + || (!local && M_CheckNetUnlockByID(i))) continue; return false; }