[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:
Bill Currie 2020-06-25 19:38:33 +09:00
parent 6d5ffa9f8e
commit 0681136eb9

View file

@ -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;
}