mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
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:
parent
334f12e0cf
commit
6eae016d3e
3 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue