Fix conditionset-based unlocks on the Sound Test.

This commit is contained in:
toaster 2019-11-21 13:12:54 +00:00
parent d1d1098f7c
commit 7c7eec4b9a
1 changed files with 1 additions and 1 deletions

View File

@ -1685,7 +1685,7 @@ boolean S_PrepareSoundTest(void)
soundtestdefs[pos++] = def;
if (def->soundtestcond > 0 && !(mapvisited[def->soundtestcond-1] & MV_BEATEN))
continue;
if (def->soundtestcond < 0 && !M_Achieved(1-def->soundtestcond))
if (def->soundtestcond < 0 && !M_Achieved(-1-def->soundtestcond))
continue;
def->allowed = true;
}