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:
parent
900ce1190c
commit
782df794c8
1 changed files with 4 additions and 1 deletions
|
|
@ -2326,10 +2326,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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue