Fix misreporting of failed progs load.

This commit is contained in:
Bill Currie 2018-10-11 13:39:48 +09:00
parent 33cbc500e8
commit f673ab9c3d
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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)