Fix addon rejoins (Closes #131)
This commit is contained in:
parent
8f198aeff8
commit
81bd0046b6
1 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ UINT8 *PutFileNeeded(UINT16 firstfile)
|
||||||
for (; i < numwadfiles; i++) //mainwads+1, otherwise we start on the first mainwad
|
for (; i < numwadfiles; i++) //mainwads+1, otherwise we start on the first mainwad
|
||||||
{
|
{
|
||||||
// If it has only music/sound lumps, don't put it in the list
|
// If it has only music/sound lumps, don't put it in the list
|
||||||
if (!wadfiles[i]->important)
|
if (!wadfiles[i]->important || wadfiles[i]->localfile)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (firstfile)
|
if (firstfile)
|
||||||
|
|
@ -563,7 +563,7 @@ INT32 CL_CheckFiles(void)
|
||||||
// CONS_Printf("checking %d of %d / %d of %d?\n", i, fileneedednum, j, numwadfiles);
|
// CONS_Printf("checking %d of %d / %d of %d?\n", i, fileneedednum, j, numwadfiles);
|
||||||
// CONS_Printf("i: %s / j: %s \n", fileneeded[i].filename, wadfiles[j]->filename);
|
// CONS_Printf("i: %s / j: %s \n", fileneeded[i].filename, wadfiles[j]->filename);
|
||||||
|
|
||||||
if (j < numwadfiles && !wadfiles[j]->important && !wadfiles[j]->localfile)
|
if (j < numwadfiles && (!wadfiles[j]->important || wadfiles[j]->localfile))
|
||||||
{
|
{
|
||||||
// Unimportant on our side.
|
// Unimportant on our side.
|
||||||
++j;
|
++j;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue