diff --git a/include/QF/progs.h b/include/QF/progs.h index 9c6ff9e6b..d59d06c5a 100644 --- a/include/QF/progs.h +++ b/include/QF/progs.h @@ -76,7 +76,7 @@ void PR_RunError (progs_t *pr, const char *error, ...) __attribute__((format(pri \param pr pointer to ::progs_t VM struct \warning failure to use this macro before assigning to the P_* macros can cause corruption of the VM data due to "register" based calling. Can be - safely ignored for parameterless functions, or forwardning parameters + safely ignored for parameterless functions, or forwarding parameters though a builtin. \hideinitializer diff --git a/nq/source/sv_progs.c b/nq/source/sv_progs.c index 6bfd7452d..0d9134f0e 100644 --- a/nq/source/sv_progs.c +++ b/nq/source/sv_progs.c @@ -486,8 +486,6 @@ SV_LoadProgs (void) sv_progs_zone->int_val * 1024); if (!sv_pr_state.progs) Host_Error ("SV_LoadProgs: couldn't load %s", progs_name); - - } void diff --git a/qw/source/sv_progs.c b/qw/source/sv_progs.c index 049a55b78..94a432318 100644 --- a/qw/source/sv_progs.c +++ b/qw/source/sv_progs.c @@ -133,7 +133,7 @@ ED_PrintEdicts_f (void) /* ED_PrintEdict_f - For debugging, prints a single edicy + For debugging, prints a single edict */ static void ED_PrintEdict_f (void) @@ -509,7 +509,7 @@ SV_LoadProgs (void) PR_LoadProgs (&sv_pr_state, progs_name, MAX_EDICTS, sv_progs_zone->int_val * 1024); - if (!sv_pr_state.progs || !PR_RelocateBuiltins (&sv_pr_state)) + if (!sv_pr_state.progs) Sys_Error ("SV_LoadProgs: couldn't load %s", progs_name); }