Fix goofup with addonsp patch unlock for loop from 2.1.13 merge

This commit is contained in:
Monster Iestyn 2019-02-28 15:48:27 +00:00
parent 7a0d8b408e
commit ae244d2af3
1 changed files with 1 additions and 1 deletions

View File

@ -4839,7 +4839,7 @@ static void M_Addons(INT32 choice)
if (addonsp[0]) // never going to have some provided but not all, saves individually checking
{
size_t i;
for (i = 0; i < NUM_EXT+4; i++)
for (i = 0; i < NUM_EXT+5; i++)
W_UnlockCachedPatch(addonsp[i]);
}