minor cleanups

fix some comments, cleanup some whitespace, and don't explicitly call
PR_RelocateBuiltins as it is called (indirectly) by PR_LoadProgs.
This commit is contained in:
Bill Currie 2010-01-13 06:28:28 +00:00 committed by Jeff Teunissen
parent 334f12e0cf
commit 6eae016d3e
3 changed files with 3 additions and 5 deletions

View file

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

View file

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

View file

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