mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Fix misreporting of failed progs load.
This commit is contained in:
parent
33cbc500e8
commit
f673ab9c3d
2 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ main (int argc, char **argv)
|
||||||
name = argv[1];
|
name = argv[1];
|
||||||
|
|
||||||
if (!load_progs (name))
|
if (!load_progs (name))
|
||||||
Sys_Error ("couldn't load %s", "qwaq.dat");
|
Sys_Error ("couldn't load %s", name);
|
||||||
|
|
||||||
PR_PushFrame (&pr);
|
PR_PushFrame (&pr);
|
||||||
if (argc > 2)
|
if (argc > 2)
|
||||||
|
|
|
@ -169,7 +169,7 @@ main (int argc, const char **argv)
|
||||||
name = argv[1];
|
name = argv[1];
|
||||||
|
|
||||||
if (!load_progs (name))
|
if (!load_progs (name))
|
||||||
Sys_Error ("couldn't load %s", "qwaq.dat");
|
Sys_Error ("couldn't load %s", name);
|
||||||
|
|
||||||
PR_PushFrame (&pr);
|
PR_PushFrame (&pr);
|
||||||
if (argc > 2)
|
if (argc > 2)
|
||||||
|
|
Loading…
Reference in a new issue