mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qwaq] PR_RunPostLoadFuncs for qwaq-x11
Same issue as for the menus. But now I know why PR_LoadProgsFile is used instead of PR_LoadProgs (at least for qwaq): avoidance of the gamedir restriction (however, the menus are supposed to be restricted).
This commit is contained in:
parent
6d5ffa9f8e
commit
0681136eb9
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ load_progs (const char *name)
|
|||
pr.zone_size = 1024*1024;
|
||||
PR_LoadProgsFile (&pr, file, size);
|
||||
Qclose (file);
|
||||
if (!PR_RunLoadFuncs (&pr))
|
||||
if (!PR_RunLoadFuncs (&pr) || !PR_RunPostLoadFuncs (&pr))
|
||||
PR_Error (&pr, "unable to load %s", pr.progs_name);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue