From f48c974c01d9b4b8385acc644761c1be47532896 Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Wed, 2 Aug 2000 22:50:28 +0000 Subject: [PATCH] Added cl_deadbodyfilter and cl_gibfilter cvars --- include/teamplay.h | 6 ++++++ source/teamplay.c | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/include/teamplay.h b/include/teamplay.h index 7a33e9c..5b050f2 100644 --- a/include/teamplay.h +++ b/include/teamplay.h @@ -26,3 +26,9 @@ $Id$ */ +#include "cvar.h" + +extern cvar_t *cl_deadbodyfilter; +extern cvar_t *cl_gibfilter; + +void CL_InitTeamplay (void); diff --git a/source/teamplay.c b/source/teamplay.c index 7c0dd82..2f198dd 100644 --- a/source/teamplay.c +++ b/source/teamplay.c @@ -26,4 +26,15 @@ $Id$ */ -// Kinda empty, eh? :) +#include "cvar.h" +#include "teamplay.h" + +cvar_t *cl_deadbodyfilter; +cvar_t *cl_gibfilter; + + +void CL_InitTeamplay (void) +{ + cl_deadbodyfilter = Cvar_Get("cl_deadbodyfilter", "0", CVAR_NONE, "None"); + cl_gibfilter = Cvar_Get("cl_gibfilter", "0", CVAR_NONE, "None"); +}