filesystem: load system pak from remaster
This commit is contained in:
parent
7509200287
commit
daa471e0f8
|
@ -2238,6 +2238,19 @@ FS_AddDirToSearchPath(char *dir, qboolean create) {
|
||||||
search->next = fs_searchPaths;
|
search->next = fs_searchPaths;
|
||||||
fs_searchPaths = search;
|
fs_searchPaths = search;
|
||||||
|
|
||||||
|
/* remaster additional files */
|
||||||
|
pack = FS_LoadPK3("Q2Game.kpf");
|
||||||
|
if (pack)
|
||||||
|
{
|
||||||
|
pack->isProtectedPak = true;
|
||||||
|
|
||||||
|
FS_SortPack(pack);
|
||||||
|
|
||||||
|
search = Z_Malloc(sizeof(fsSearchPath_t));
|
||||||
|
search->pack = pack;
|
||||||
|
search->next = fs_searchPaths;
|
||||||
|
fs_searchPaths = search;
|
||||||
|
}
|
||||||
|
|
||||||
// Numbered paks contain the official game data, they
|
// Numbered paks contain the official game data, they
|
||||||
// need to be added first and are marked protected.
|
// need to be added first and are marked protected.
|
||||||
|
|
Loading…
Reference in New Issue