From 87a9b28804f00a3eb77c0077f3c9f7553239b997 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 2 Aug 2015 01:01:07 -0600 Subject: [PATCH] Clean out CFLAGS_NOCLIP thing --- qbsp/csg4.c | 8 -------- qbsp/qbsp.h | 1 - 2 files changed, 9 deletions(-) diff --git a/qbsp/csg4.c b/qbsp/csg4.c index 03c9bd20..01f3082d 100644 --- a/qbsp/csg4.c +++ b/qbsp/csg4.c @@ -469,14 +469,6 @@ CSGFaces(const mapentity_t *entity) continue; } - /* Nothing clips a brush that has CFLAGS_NOCLIP set */ - if (brush->cflags & CFLAGS_NOCLIP) - continue; - - /* Clipbrush with CFLAGS_NOCLIP should not clip other brushes */ - if (clipbrush->cflags & CFLAGS_NOCLIP) - continue; - /* check bounding box first */ for (i = 0; i < 3; i++) { if (brush->mins[i] > clipbrush->maxs[i]) diff --git a/qbsp/qbsp.h b/qbsp/qbsp.h index 819eeaad..1e093902 100644 --- a/qbsp/qbsp.h +++ b/qbsp/qbsp.h @@ -99,7 +99,6 @@ // Special contents flags for the compiler only #define CFLAGS_DETAIL (1U << 0) -#define CFLAGS_NOCLIP (1U << 1) // Texture flags #define TEX_SPECIAL (1U << 0) /* sky or liquid (no lightmap or subdivision */