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-11-04 16:54:07 +00:00
parent bac58847fe
commit 9ce87671c7

View file

@ -2294,10 +2294,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)