if (i >= prog->num_edicts)
{
Con_Printf("Bad edict number\n");
+ PRVM_End;
return;
}
PRVM_ED_PrintNum (i);
Con_Printf("%s :", PRVM_NAME);
for (i = 0;i < prog->progs->numglobaldefs;i++)
- Con_Printf("%s\n", PRVM_GetString(pr_globaldefs[i].s_name));
+ Con_Printf("%s\n", PRVM_GetString(prog->globaldefs[i].s_name));
Con_Printf("%i global variables, totalling %i bytes\n", prog->progs->numglobals, prog->progs->numglobals * 4);
PRVM_End;
Cvar_RegisterVariable (&prvm_boundscheck);
Cvar_RegisterVariable (&prvm_traceqc);
- VM_Cmd_Init();
+ //VM_Cmd_Init();
}
/*
return NULL;
}
+void PRVM_ProcessError(void)
+{
+ if(prog)
+ PRVM_GCALL(error_cmd)();
+}
+
/*
int NUM_FOR_EDICT_ERROR(edict_t *e)
{