just some temporary debug info

This commit is contained in:
Bill Currie 2001-03-01 23:30:55 +00:00
parent 6f590ff9d0
commit be8f1cef7c
2 changed files with 4 additions and 1 deletions

View file

@ -269,6 +269,7 @@ PR_EnterFunction (progs_t * pr, dfunction_t *f)
{
int i, j, c, o;
printf("%s:\n", PR_GetString(pr,f->s_name));
pr->pr_stack[pr->pr_depth].s = pr->pr_xstatement;
pr->pr_stack[pr->pr_depth].f = pr->pr_xfunction;
pr->pr_depth++;
@ -358,6 +359,7 @@ PR_ExecuteProgram (progs_t * pr, func_t fnum)
}
f = &pr->pr_functions[fnum];
printf("%s:\n", PR_GetString(pr,f->s_name));
pr->pr_trace = false;
@ -376,7 +378,7 @@ PR_ExecuteProgram (progs_t * pr, func_t fnum)
PR_RunError (pr, "runaway loop error");
}
if (pr->pr_trace)
if (1||pr->pr_trace)
PR_PrintStatement (pr, st);
switch (st->op) {

View file

@ -145,6 +145,7 @@ SV_RunThink (edict_t *ent)
do {
thinktime = SVFIELD (ent, nextthink, float);
Con_Printf("thinktime: %f\n", thinktime);
if (thinktime <= 0)
return true;
if (thinktime > sv.time + sv_frametime)