From 8ef3ae118225fe40144d74152e95dde1250a6f45 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 1 Jan 2006 04:14:41 +0000 Subject: [PATCH] Gibfilter now no longer initialises in q2. This means it no longer crashes q2 servers, but also doesn't filter q2 gibs. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1749 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_ents.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/server/sv_ents.c b/engine/server/sv_ents.c index 802564169..03afe8530 100644 --- a/engine/server/sv_ents.c +++ b/engine/server/sv_ents.c @@ -1982,6 +1982,9 @@ void SV_GibFilterInit(void) Z_Free(gf); } + if (svs.gametype != GT_PROGS) + return; + file = COM_LoadStackFile("gibfiltr.cfg", buffer, sizeof(buffer)); if (!file) {