Use Partial Addfile for G_LoadDemoExtraFiles as well

Still cope compared to the MP addfile codepath, but not the n^2 time cope of before.
This commit is contained in:
toaster 2022-10-31 18:06:34 +00:00
parent b19004ae3b
commit 3cce3ec2ce
1 changed files with 4 additions and 1 deletions

View File

@ -7014,10 +7014,13 @@ static void G_LoadDemoExtraFiles(UINT8 **pp)
}
else
{
P_AddWadFile(filename);
P_PartialAddWadFile(filename);
}
}
}
if (P_PartialAddGetStage() >= 0)
P_MultiSetupWadFiles(true); // in case any partial adds were done
}
static void G_SkipDemoExtraFiles(UINT8 **pp)