From c25051e60e235d34478ecf97b0649977bee5f33c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 31 May 2002 15:04:23 +0000 Subject: [PATCH] link the obj runtime into the servers' progs engines --- nq/source/pr_cmds.c | 1 + qw/source/sv_pr_cmds.c | 1 + 2 files changed, 2 insertions(+) diff --git a/nq/source/pr_cmds.c b/nq/source/pr_cmds.c index d4f62ea95..9b9983672 100644 --- a/nq/source/pr_cmds.c +++ b/nq/source/pr_cmds.c @@ -1358,6 +1358,7 @@ void SV_PR_Cmds_Init () { PR_Cmds_Init (&sv_pr_state); + PR_Obj_Progs_Init (&sv_pr_state); PR_AddBuiltin (&sv_pr_state, "makevectors", PF_makevectors, 1); // void(entity e) makevectors = #1 PR_AddBuiltin (&sv_pr_state, "setorigin", PF_setorigin, 2); // void(entity e, vector o) setorigin = #2 diff --git a/qw/source/sv_pr_cmds.c b/qw/source/sv_pr_cmds.c index e11957115..71683353e 100644 --- a/qw/source/sv_pr_cmds.c +++ b/qw/source/sv_pr_cmds.c @@ -1601,6 +1601,7 @@ void SV_PR_Cmds_Init () { PR_Cmds_Init (&sv_pr_state); + PR_Obj_Progs_Init (&sv_pr_state); sv_pr_state.builtins[45] = 0; // (override standard builtin) PR_AddBuiltin (&sv_pr_state, "cvar", PF_sv_cvar, 45);