X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=mvm_cmds.c;h=3faf9a1f796999f0cb8910b62f1fceefcecd3345;hb=ca44a5ca4c29145daf3c73a3657cd88b45d09eec;hp=337d196bd037d5794d44f06b4c785841b78de60a;hpb=f603e392a4dc9b7da2732bc3c14585d54de99b7e;p=xonotic%2Fdarkplaces.git diff --git a/mvm_cmds.c b/mvm_cmds.c index 337d196b..3faf9a1f 100644 --- a/mvm_cmds.c +++ b/mvm_cmds.c @@ -1058,8 +1058,7 @@ void VM_cin_restart(prvm_prog_t *prog) static void VM_M_registercommand(prvm_prog_t *prog) { VM_SAFEPARMCOUNT(1, VM_M_registercommand); - if(!Cmd_Exists(cmd_client, PRVM_G_STRING(OFS_PARM0))) - Cmd_AddCommand(CF_CLIENT, PRVM_G_STRING(OFS_PARM0), NULL, "console command created by QuakeC"); + Cmd_AddCommand(CF_CLIENT, PRVM_G_STRING(OFS_PARM0), NULL, "console command created by QuakeC"); } prvm_builtin_t vm_m_builtins[] = { @@ -1076,7 +1075,7 @@ VM_vlen, // #9 VM_vectoyaw, // #10 VM_vectoangles, // #11 VM_random, // #12 -VM_localcmd_client, // #13 +VM_localcmd_local, // #13 VM_cvar, // #14 VM_cvar_set, // #15 VM_dprint, // #16