mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
if progsname is null, assume the progs are already loaded and just process
the data.
This commit is contained in:
parent
7ad0f7ed2b
commit
e699f6e888
1 changed files with 4 additions and 1 deletions
|
@ -989,7 +989,10 @@ PR_LoadProgs (progs_t * pr, char *progsname)
|
|||
for (i = 0; i < GEFV_CACHESIZE; i++)
|
||||
gefvCache[i].field[0] = 0;
|
||||
|
||||
pr->progs = (dprograms_t *) COM_LoadHunkFile (progsname);
|
||||
if (progsname)
|
||||
pr->progs = (dprograms_t *) COM_LoadHunkFile (progsname);
|
||||
else
|
||||
progsname = "(preloaded)";
|
||||
if (!pr->progs)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue